mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-22 16:32:59 +00:00
Fix minor convention mistakes in basic examples
Co-authored-by: Narmy <67862800+NarmyOnDiscord@users.noreply.github.com>
This commit is contained in:
@@ -57,7 +57,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(f'{member.name} joined in {member.joined_at}')
|
||||
await ctx.send(f'{member.name} joined {discord.utils.format_dt(member.joined_at)}')
|
||||
|
||||
|
||||
@bot.group()
|
||||
|
Reference in New Issue
Block a user