DiscordClient.GetChannelAsync
Hello, I put on my discord the channel id but its not working here is my code
15 Replies
please do not cross-post.
why are you not just
await
ing the method?is there a reason why you are calling
.GetAwaiter().GetResult();
instead of making your method async
so that you can use await
Nop
then prefix your methods with
await
and remove the get awaiter callsBut those I don’t understand before it worked and when I want changed the GetChannelAsync ID works more
I'm not sure if I understand what you've said
Basically I had it on another discord all worked I made a transition to another discord its no longer works
you are not answering my question... however, I think the error message is quite self explanatory, it seems the bot does not have access to the channel ID
check permissions
and my bot doesn’t connect either
this is not helpful
are there any error messages?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View