diff options
author | 2021-11-21 01:55:20 +0300 | |
---|---|---|
committer | 2021-11-21 01:55:20 +0300 | |
commit | 377dcf969c74ef83cf534e7ba058fbb87bd28d88 (patch) | |
tree | 0713ee568f554a88cf29fe6863c33c84ea2fcc80 /bot/exts/fun/anagram.py | |
parent | Merge pull request #949 from D0rs4n/pr/aochanges (diff) |
Add Better Support For Whitelisting DM Commands
Adds a toggle to the whitelist override, to allow explicit enabling of
a command in DMs, and sets the default to False.
Removes redundant `guild_only` decorators.
Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'bot/exts/fun/anagram.py')
-rw-r--r-- | bot/exts/fun/anagram.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bot/exts/fun/anagram.py b/bot/exts/fun/anagram.py index 9aee5f18..79280fa9 100644 --- a/bot/exts/fun/anagram.py +++ b/bot/exts/fun/anagram.py @@ -49,7 +49,6 @@ class Anagram(commands.Cog): self.games: dict[int, AnagramGame] = {} @commands.command(name="anagram", aliases=("anag", "gram", "ag")) - @commands.guild_only() async def anagram_command(self, ctx: commands.Context) -> None: """ Given shuffled letters, rearrange them into anagrams. |