aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/fun/battleship.py
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2021-11-21 01:55:20 +0300
committerGravatar Hassan Abouelela <[email protected]>2021-11-21 01:55:20 +0300
commit377dcf969c74ef83cf534e7ba058fbb87bd28d88 (patch)
tree0713ee568f554a88cf29fe6863c33c84ea2fcc80 /bot/exts/fun/battleship.py
parentMerge 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.py1
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!