better SQL handling
This commit is contained in:
6
main.py
6
main.py
@@ -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'))
|
||||
|
||||
Reference in New Issue
Block a user