WIP: feat: add a channel as a logging channel #5

Closed
phundrak wants to merge 0 commits from develop into feature/add-new-logging-channels
Owner

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
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 01:25:19 +00:00
phundrak closed this pull request 2023-11-23 02:03:43 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: phundrak/p4bl0t#5
No description provided.