Skip to content

Commit

Permalink
get_dt is not async
Browse files Browse the repository at this point in the history
  • Loading branch information
geirawsm committed Sep 17, 2024
1 parent c487ba6 commit 630ea95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sausage_bot/cogs/quote.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async def quotes_autocomplete(
discord.app_commands.Choice(
name='{}. ({}) {}'.format(
quote[0],
str(await get_dt(format='datetextfull', dt=quote[3])),
get_dt(format='datetextfull', dt=quote[3]),
'{}...'.format(
quote[2][0:35]) if len(quote[2]) > 35 else quote[2]
),
Expand Down

0 comments on commit 630ea95

Please sign in to comment.