Skip to content

Commit

Permalink
Fix wrong single quotes in f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
enrico-ghidoni committed Jul 14, 2024
1 parent 95bfdb0 commit bbbdc3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async def on_member_join(self, member):
embed.add_field(name="", value=f"Hello {member.mention}, Welcome to Carpe Noctem Tactical Operations. Feel free to message an <@&{INTERVIEWER_ROLE_ID}> or take a look at <#{WELCOME_CHANNEL_ID}> if you have any questions! ", inline=True)

# member joined_at function returns datetime object, strf formats output as follows: Day of Week, Number of day, initials of month, year, hour of day in GMT timezone
embed.set_footer(text=f'{member.joined_at.strftime('%a %d %b %Y, %I:%M%p')}')
embed.set_footer(text=f"{member.joined_at.strftime('%a %d %b %Y, %I:%M%p')}")
await guild.system_channel.send(embed = embed)


Expand Down

0 comments on commit bbbdc3c

Please sign in to comment.