'How to check if any user is in a specific channel (discord c#)?
This is my current code, I want it that it checks if any user is in a specific (pre-determined) voice channel?
[Command("moveme")]
public async Task Moveme()
{
var user = Context.User as SocketGuildUser;
await ReplyAsync("<@" + Context.Message.Author.Id + ">");
await user.ModifyAsync(x => { x.ChannelId = 936628852996833329; });
}
Thanks beforehand
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
