mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
add status messages in console
This commit is contained in:
parent
647e138f2f
commit
e6f8332a4b
1 changed files with 6 additions and 0 deletions
6
main.py
6
main.py
|
@ -18,6 +18,11 @@ bot.load_extension("cogs.assignments")
|
||||||
bot.loop.run_until_complete(registry.create_all())
|
bot.loop.run_until_complete(registry.create_all())
|
||||||
|
|
||||||
|
|
||||||
|
@bot.event
|
||||||
|
async def on_connect():
|
||||||
|
print("Connected to discord!")
|
||||||
|
|
||||||
|
|
||||||
@bot.event
|
@bot.event
|
||||||
async def on_ready():
|
async def on_ready():
|
||||||
print("Logged in as", bot.user)
|
print("Logged in as", bot.user)
|
||||||
|
@ -31,4 +36,5 @@ async def ping(ctx: discord.ApplicationContext):
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
print("Starting...")
|
||||||
bot.run(config.token)
|
bot.run(config.token)
|
||||||
|
|
Loading…
Reference in a new issue