Added more comments for the code

pull/2/head
sgoudham 5 years ago
parent 1b6c6193a2
commit f8164e3ae2

@ -150,6 +150,7 @@ async def role_menu(ctx):
print(e) print(e)
# Bot event for enabling roles to be added to users when they react to the embedded message
@client.event @client.event
async def on_raw_reaction_add(payload): async def on_raw_reaction_add(payload):
try: try:
@ -171,6 +172,7 @@ async def on_raw_reaction_add(payload):
print(e) print(e)
# Bot event for enabling roles to be removed from users when they unreact to the embedded messaged
@client.event @client.event
async def on_raw_reaction_remove(payload): async def on_raw_reaction_remove(payload):
try: try:

Loading…
Cancel
Save