예제 #1
0
        /// <summary>
        /// Closes the DM
        /// </summary>
        public void Leave()
        {
            DMChannel group = Client.DeleteChannel(Id).ToDMChannel();

            Name       = group.Name;
            Recipients = group.Recipients;
        }
예제 #2
0
        /// <summary>
        /// Updates the channel's info
        /// </summary>
        public override void Update()
        {
            DMChannel channel = Client.GetDMChannel(Id);

            Json       = channel.Json;
            Recipients = channel.Recipients;
        }