Cog-Creators / Cog-Creators/Red-DiscordBot

Allow specifying bot's response to disabled commands separate for global and server-specific disables

Open
#6,763 0 comments 1 reaction 0 assignees View on GitHub
Category: Core - API - Commands Package Category: Core - Bot Commands Status: Accepted Type: Enhancement
Dominant language
Python
Stars
5.7k
Forks
2.5k
Avg merge
6d 16h
Merged PRs (30d)
1

Description

### What component of Red (cog, command, API) would you like to see improvements on?

Core Commands

### Describe the enhancement you're suggesting.

We should be able to separately configure a message for global and server-specific command disabling. Both of the messages would be **global**, but they could differ.
More concretely, the current `command disabledmsg` should be used when the command is globally disabled.
If `command serverdisabledmsg` (this probably isn't the best way to name it) is set, that message is used for commands disabled in specific servers. If it isn't set, `command disabledmsg` continues to be used, as it is today.

### Anything else?

Inspired by #5553 but following an approach closer to what's suggested in the comment:
https://github.com/Cog-Creators/Red-DiscordBot/pull/5553#issuecomment-1019926804.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.