Skip to content

Commit b4cb3fe

Browse files
authored
HOTFIX
/traps add did not work
1 parent c7b9744 commit b4cb3fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/greenieboard/commands.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,10 +244,10 @@ async def add(self, interaction: discord.Interaction,
244244
user: app_commands.Transform[Union[str, discord.Member], utils.UserTransformer]):
245245
ephemeral = utils.get_ephemeral(interaction)
246246
config = self.get_config()
247-
if 'ratings' not in config:
247+
if 'grades' not in config:
248248
# noinspection PyUnresolvedReferences
249249
await interaction.response.send_message(
250-
_('You need to specify ratings in your greenieboard.yaml to use {}!').format(
250+
_('You need to specify grades in your greenieboard.yaml to use {}!').format(
251251
(await utils.get_command(self.bot, group='traps', name='add')).mention
252252
), ephemeral=True)
253253
return

0 commit comments

Comments
 (0)