Update main.py
This commit is contained in:
parent
2c12479475
commit
4eb1ab4ec4
1 changed files with 2 additions and 2 deletions
4
main.py
4
main.py
|
@ -14,7 +14,7 @@ coinflip = ['Heads', 'Not Sonic lol (Tails..)']
|
||||||
async def on_ready():
|
async def on_ready():
|
||||||
print('We have logged in as {0.user}'.format(client))
|
print('We have logged in as {0.user}'.format(client))
|
||||||
|
|
||||||
# bot sense a message & responds
|
# bot senses a message & responds
|
||||||
@client.event
|
@client.event
|
||||||
async def on_message(message):
|
async def on_message(message):
|
||||||
# if message is from bot, return nothing
|
# if message is from bot, return nothing
|
||||||
|
@ -47,4 +47,4 @@ async def on_message(message):
|
||||||
|
|
||||||
|
|
||||||
# run bot
|
# run bot
|
||||||
client.run(my_secret)
|
client.run(my_secret)
|
||||||
|
|
Reference in a new issue