Skip to content

Commit

Permalink
Fix whitelist/blacklist response message
Browse files Browse the repository at this point in the history
  • Loading branch information
TrustyJAID committed May 6, 2024
1 parent 4cf2a43 commit 83758b5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion redbot/core/tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,10 @@ async def interaction_check(self, interaction: discord.Interaction):
await interaction.response.autocomplete(
[
discord.app_commands.Choice(
name=_("This channel or server is ignored."), value="None"
name=_(
"You are not permitted to use commands because of an allowlist or blocklist."
),
value="None",
)
]
)
Expand Down

0 comments on commit 83758b5

Please sign in to comment.