aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/fun/tic_tac_toe.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/tic_tac_toe.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/tic_tac_toe.py')
-rw-r--r--bot/exts/fun/tic_tac_toe.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bot/exts/fun/tic_tac_toe.py b/bot/exts/fun/tic_tac_toe.py
index 946b6f7b..5dd38a81 100644
--- a/bot/exts/fun/tic_tac_toe.py
+++ b/bot/exts/fun/tic_tac_toe.py
@@ -3,7 +3,7 @@ import random
from typing import Callable, Optional, Union
import discord
-from discord.ext.commands import Cog, Context, check, group, guild_only
+from discord.ext.commands import Cog, Context, check, group
from bot.bot import Bot
from bot.constants import Emojis
@@ -253,7 +253,6 @@ class TicTacToe(Cog):
def __init__(self):
self.games: list[Game] = []
- @guild_only()
@is_channel_free()
@is_requester_free()
@group(name="tictactoe", aliases=("ttt", "tic"), invoke_without_command=True)