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/battleship.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/battleship.py')
-rw-r--r-- | bot/exts/fun/battleship.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bot/exts/fun/battleship.py b/bot/exts/fun/battleship.py index f4351954..beff196f 100644 --- a/bot/exts/fun/battleship.py +++ b/bot/exts/fun/battleship.py @@ -369,7 +369,6 @@ class Battleship(commands.Cog): return any(player in (game.p1.user, game.p2.user) for game in self.games) @commands.group(invoke_without_command=True) - @commands.guild_only() async def battleship(self, ctx: commands.Context) -> None: """ Play a game of Battleship with someone else! |