Skip to content

Commit

Permalink
Fix babel issue with unsetsuccess
Browse files Browse the repository at this point in the history
  • Loading branch information
yiays committed Oct 20, 2024
1 parent a77e4a5 commit b9f3ab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/confessions_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ async def set(

#BABEL: setsuccess#,unsetsuccess#
modestring = (
f'setsuccess{mode.value}' if mode != ChannelType.unset else f'unsetsuccess{old_mode}'
f'setsuccess{mode.value}' if mode != ChannelType.unset else f'unsetsuccess{old_mode.value}'
)
tutorial = self.parent.babel(inter.guild, modestring) + ' '
if mode == ChannelType.unset and old_mode in (
Expand Down

0 comments on commit b9f3ab1

Please sign in to comment.