Minor changes to do with aliases/commentary

pull/2/head
sgoudham 4 years ago
parent 00375ec7f5
commit 5a74f860ab

@ -250,7 +250,7 @@ async def on_raw_reaction_remove(payload):
async def marry(ctx, member: discord.Member): async def marry(ctx, member: discord.Member):
# Send a message to the channel mentioning the author and the person they want to wed. # Send a message to the channel mentioning the author and the person they want to wed.
await ctx.send(f"{ctx.author.mention} **Proposes To** {member.mention} **Do you accept??** " await ctx.send(f"{ctx.author.mention} **Proposes To** {member.mention} **Do you accept??** "
f"\nRespond with [yes/no]") f"\nRespond with [Yes/No]")
# A check that makes sure that the reply is not from the author # A check that makes sure that the reply is not from the author
# and that the reply is in the same channel as the proposal # and that the reply is in the same channel as the proposal
@ -300,8 +300,8 @@ async def on_message(message):
# ~remindme command to allow the bot to dm you to remind you of something # ~remindme command to allow the bot to dm you to remind you of something
@client.command() @client.command(aliases=["remindme", "rm"])
async def remindme(ctx, time=None, *, text): async def remind_me(ctx, time=None, *, text):
# Grab the author and store it in "author" # Grab the author and store it in "author"
author = ctx.message.author author = ctx.message.author

Loading…
Cancel
Save