mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 10:03:40 +01:00
Fix main launcher again
This commit is contained in:
parent
09578ae120
commit
3ab249a311
1 changed files with 2 additions and 2 deletions
4
main.py
4
main.py
|
@ -18,12 +18,12 @@ bot.load_extension("cogs.assignments")
|
|||
bot.loop.run_until_complete(registry.create_all())
|
||||
|
||||
|
||||
@bot.event
|
||||
@bot.listen()
|
||||
async def on_connect():
|
||||
print("Connected to discord!")
|
||||
|
||||
|
||||
@bot.listen()
|
||||
@bot.event
|
||||
async def on_ready():
|
||||
print("Logged in as", bot.user)
|
||||
|
||||
|
|
Loading…
Reference in a new issue