Doing a lot of overhaul to add reminders
This commit is contained in:
@ -2,6 +2,7 @@ import discord
|
||||
from discord import app_commands
|
||||
from .commands import NessaTracker
|
||||
from .consent import ConsentView, check_user_consent, store_user_consent
|
||||
from .reminder_tracker import reminder_worker
|
||||
from dotenv import load_dotenv
|
||||
import os
|
||||
|
||||
@ -31,6 +32,8 @@ class Nessa(discord.Client):
|
||||
print(f"Logged on as {self.user}!")
|
||||
self.tree.copy_global_to(guild=discord.Object(id=GUILD_ID))
|
||||
await self.tree.sync(guild=discord.Object(id=GUILD_ID))
|
||||
print("Starting reminder worker...")
|
||||
await self.loop.create_task(reminder_worker())
|
||||
|
||||
async def on_interaction(self, interaction: discord.Interaction):
|
||||
if interaction.type == discord.InteractionType.application_command:
|
||||
|
Reference in New Issue
Block a user