Added name value's to all commands

pull/2/head
sgoudham 4 years ago
parent 9f72b65856
commit 5b71d911c0

@ -37,7 +37,7 @@ async def on_ready():
# Bot ~Ping command in milliseconds # Bot ~Ping command in milliseconds
@client.command(aliases=["Ping"]) @client.command(name="ping", aliases=["Ping"])
@is_owner() @is_owner()
async def ping(ctx): async def ping(ctx):
# Send the latency of the bot (ms) # Send the latency of the bot (ms)
@ -211,7 +211,7 @@ async def on_raw_reaction_remove(payload):
# ~marry command allows the bot to wed two young lovers together # ~marry command allows the bot to wed two young lovers together
@client.command() @client.command(name="marry", aliases=["Marry"])
async def marry(ctx, member: Member): async def marry(ctx, member: 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??** "

Loading…
Cancel
Save