Correctly handle errors from database
Currently, when adding twice a channel, we get a message like so:
error returned from database: (code: 2067) UNIQUE constraint failed: guild_log_channels.guild_id, guild_log_channels.channel_id
Verify non-admin users cannot use the command
Write tests
To enhance:
- Correctly handle errors from database
Currently, when adding twice a channel, we get a message like so:
> error returned from database: (code: 2067) UNIQUE constraint failed: guild_log_channels.guild_id, guild_log_channels.channel_id
- Verify non-admin users cannot use the command
- Write tests
phundrak
added this to the 1.0.0 milestone 2023-11-23 02:25:19 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
To enhance:
Currently, when adding twice a channel, we get a message like so:
Pull request closed