Skip to content

Commit

Permalink
Fix undo instructions for /setup
Browse files Browse the repository at this point in the history
  • Loading branch information
yiays committed Oct 28, 2024
1 parent 95ff9b7 commit 001c2a0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions extensions/confessions_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,9 @@ async def set(
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 (
ChannelType.traceable, ChannelType.untraceable
):
tutorial += self.parent.babel(inter.guild, 'unsetundo')
if mode == ChannelType.unset:
if old_mode in (ChannelType.traceable, ChannelType.untraceable):
tutorial += self.parent.babel(inter.guild, 'unsetundo')
else:
tutorial += self.parent.babel(inter.guild, 'setundo') + '\n\n'
if mode == ChannelType.vetting:
Expand Down

0 comments on commit 001c2a0

Please sign in to comment.