Skip to content

Commit

Permalink
docs: Correct "ignored categories" to "appeal categories"
Browse files Browse the repository at this point in the history
  • Loading branch information
vivekashok1221 committed Aug 9, 2024
1 parent 5f9c135 commit 340b26a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ban_appeals/ban_appeals.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ async def _handle_join(self, member: discord.Member) -> None:
thread = await self.bot.threads.find(recipient=member)
if not thread:
return

category = await self.get_useable_appeal_category()
embed = discord.Embed(
description=f"Moving thread to `{category}` category since recipient has joined the appeals server.",
Expand Down Expand Up @@ -240,7 +240,7 @@ async def get_categories(self, ctx: commands.Context) -> None:
@checks.has_permissions(PermissionLevel.OWNER)
@appeal_category_management.command(name="add")
async def add_category(self, ctx: commands.Context, appeal_category: discord.CategoryChannel) -> None:
"""Add a category to the list of ignored categories."""
"""Add a category to the list of appeal categories."""
if appeal_category.id in self.appeal_categories:
await ctx.send(f":x: {appeal_category} already in the appeal category list.")
return
Expand Down

0 comments on commit 340b26a

Please sign in to comment.