1
0
Fork 0
mirror of https://gitlab.jonasled.de/jonasled/discordbot synced 2024-06-16 07:08:19 +02:00

documentation update

This commit is contained in:
Jonas Leder 2020-04-02 18:24:54 +02:00
parent 59371d59e8
commit 4ffdf92d5c

2
bot.py
View file

@ -26,7 +26,7 @@ try: #try to create the database tables, if it fails they were created previosly
c.execute(sql3)
except:
pass
@bot.event #print the username and id to the console and change the game status id
@bot.event #print the username and id to the console and change the game status
async def on_ready():
print('Logged in as')
print(bot.user.name)