Update joined command in basic_bot to use f-strings
This commit is contained in:
parent
e405bd5f1f
commit
c3e0b6e123
@ -52,7 +52,7 @@ async def repeat(ctx, times: int, content='repeating...'):
|
||||
@bot.command()
|
||||
async def joined(ctx, member: discord.Member):
|
||||
"""Says when a member joined."""
|
||||
await ctx.send('{0.name} joined in {0.joined_at}'.format(member))
|
||||
await ctx.send(f'{member.name} joined in {member.joined_at}')
|
||||
|
||||
@bot.group()
|
||||
async def cool(ctx):
|
||||
|
Loading…
x
Reference in New Issue
Block a user