Skip to content

Commit

Permalink
Changed %time output statement for grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Phamfam committed Dec 29, 2020
1 parent 9713273 commit 0f2eb3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/Reminder.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ async def gettimezone(self, ctx, user: discord.Member = None):
current_time = datetime.datetime.now(pytz.timezone(user_timezone)).strftime('%I:%M:%S %p')
timezone_abbrev = datetime.datetime.now(pytz.timezone(user_timezone)).strftime('UTC%z')
return await ctx.send(
f"> {user.display_name}{', your' if user==ctx.author else chr(39)+'s'} current time is set to "
f"`{current_time}` at the timezone `{user_timezone} {timezone_abbrev}`")
f"> {user.display_name}{', your' if user==ctx.author else chr(39)+'s'} current time is "
f"`{current_time}` in the timezone `{user_timezone} {timezone_abbrev}`")

@commands.command(aliases=['settz'])
async def settimezone(self, ctx, timezone_name=None, country_code=None):
Expand Down

0 comments on commit 0f2eb3e

Please sign in to comment.