15 lines
354 B
Python
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)
|