nomen/nomen/notifications.py
2024-09-16 10:46:23 -04:00

15 lines
354 B
Python

from discord.ext.commands import Cog, command
class User:
def __init__(self, ...):
pass
class Notifications(Cog):
def __init__(self, bot):
self.bot = bot
@Cog.listener()
async def on_message(self, message):
ctx = self.bot.get_context(message)
if ctx.valid: return
await handle_triggers(message)