fix(utils/discord): move import into function

This commit is contained in:
2026-05-26 21:56:37 -04:00
parent 8fe3edbc9e
commit a2580b211c
+2 -1
View File
@@ -4,12 +4,13 @@ from logging import debug, error
import disnake import disnake
from .. import commands
from ..constants import OWNERS from ..constants import OWNERS
from ..state import command_cooldowns, message_responses from ..state import command_cooldowns, message_responses
def cooldown(message, cooldown_time: int): def cooldown(message, cooldown_time: int):
from .. import commands
if message.author.id in OWNERS: if message.author.id in OWNERS:
return return