コード例 #1
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, string topic, int position, DiscordTextChannelCallback callback)
 {
     client.EditChannel(ID, channelname, topic, position, callback);
 }
コード例 #2
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 CreateTextChannel(string channelname, DiscordTextChannelCallback callback)
 {
     client.CreateTextChannel(ID, channelname, callback);
 }
コード例 #3
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, string topic, DiscordTextChannelCallback callback)
 {
     Edit(channelname, topic, pos, callback);
 }
コード例 #4
0
 /// <summary> Deletes this channel. </summary>
 public void Delete(DiscordTextChannelCallback callback)
 {
     client.DeleteTextChannel(ID, callback);
 }