better SQL handling

This commit is contained in:
jsl12
2022-01-23 17:54:32 -06:00
parent fa89302e54
commit c8137d78d8
4 changed files with 67 additions and 45 deletions

View File

@@ -20,6 +20,11 @@ if __name__ == '__main__':
@client.event
async def on_ready():
await client.handle_ready()
# await client.data.scan_messages(
# client=client,
# # limit=100,
# days=60,
# )
@client.event
@@ -35,6 +40,7 @@ if __name__ == '__main__':
@client.event
async def on_raw_reaction_remove(payload: RawReactionActionEvent):
await client.handle_raw_reaction(payload)
# await client.data.remove_reaction(payload)
load_dotenv()
client.run(os.getenv('DISCORD_TOKEN'))