Example #1
0
 /// <summary> Creates a channel. </summary>
 /// <param name="channelname">The name of the channel you want to create.</param>
 /// <param name="type">The type of channel you want to create.</param>
 public void CreateVoiceChannel(string channelname, DiscordVoiceChannelCallback callback)
 {
     client.CreateVoiceChannel(ID, channelname, callback);
 }
Example #2
0
 /// <summary> Edits this channel. </summary>
 /// <param name="channelname">The name of this channel.</param>
 /// <param name="topic">The topic of this channel.</param>
 /// <param name="position">The position of this channel.</param>
 /// <param name="bitrate">The bitrate for this channel.(between 8000 to 96000)</param>
 /// <param name="limit">The max amount of users for this channel.</param>
 public void Edit(string channelname, int position, int bitrate, int limit, DiscordVoiceChannelCallback callback)
 {
     client.EditVoiceChannel(ID, channelname, position, bitrate, limit, callback);
 }
Example #3
0
 /// <summary> Deletes this channel. </summary>
 public void Delete(DiscordVoiceChannelCallback callback)
 {
     client.DeleteVoiceChannel(ID, callback);
 }
Example #4
0
 /// <summary> Edits this channel. </summary>
 /// <param name="channelname">The name of this channel.</param>
 /// <param name="topic">The topic of this channel.</param>
 /// <param name="bitrate">The bitrate for this channel.(between 8000 to 96000)</param>
 /// <param name="limit">The max amount of users for this channel.</param>
 public void Edit(string channelname, int bitrate, int limit, DiscordVoiceChannelCallback callback)
 {
     Edit(channelname, pos, bitrate, limit, callback);
 }