You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while running console with a bot token with administrator privileges under the target server, entering the guild
command to select said server, the console returns Server does not have a channel
despite having numerous channels
The text was updated successfully, but these errors were encountered:
Looked into this real quick, it would seemingly only happen if no channel in the guild has a "position" value (which results in an empty channel, leading to it failing the error check), does it fix itself if you drag a channel around and back? I can't seem to find a reliable way to replicate this issue, unfortunately.
The code at commands_navigate.go#L103 seems to me like it was created back in the day when all Discord servers had a permanent "first" channel. Perhaps a better way to go about that check would be to first check if there are any channels in the array, see if any channel has the name "general", or otherwise just return the first channel of the array. However, I'm still not quite sure how to replicate this issue to test.
while running console with a bot token with administrator privileges under the target server, entering the
guild
command to select said server, the console returns
Server does not have a channel
despite having numerous channels
The text was updated successfully, but these errors were encountered: