ihasTaco / ServerQuery

A Discord Bot that queries game servers
Mozilla Public License 2.0
0 stars 0 forks source link

Dashboard Check for Channel Permissions When Adding a New Channel #4

Open ihasTaco opened 1 year ago

ihasTaco commented 1 year ago

To improve the user experience and prevent potential issues when adding a new channel, we should add a permissions check in the dashboard. This check would verify whether the channel's permissions are correctly set for the bot to be able to send embeds.

If the permissions are not set correctly, an alert would pop up to notify the user. The alert would provide instructions on how to adjust the permissions so that the bot can function properly. This would save users from having to troubleshoot why the bot isn't sending embeds to the new channel.

The permissions that need to be checked are:

Benefits: Implementing this feature would provide several benefits:

Implementation:

This feature could be implemented by adding a permissions check function to the new channel addition workflow in the dashboard. This function would query the channel's permissions for the bot and compare them to the necessary permissions. If the permissions are not correctly set, the function would trigger an alert with instructions for the user.