Skip to content

Commit

Permalink
Update assistance.py
Browse files Browse the repository at this point in the history
  • Loading branch information
eip618 committed Feb 28, 2024
1 parent f3dd9b3 commit 66f6320
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cogs/assistance.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,15 @@ async def setsmallhelp(self, ctx: GuildContext, category: discord.CategoryChanne
self.small_help_category = category
await ctx.send("Small help category set.")

@is_staff('OP')
@commands.guild_only()
@commands.command()
async def setsoaps(self, ctx: GuildContext, category: discord.CategoryChannel):
"""Sets the soaps category for creating channels. OP+ only."""
await self.bot.configuration.add_channel('soaps', category)
self.soaps_category = category
await ctx.send("Soaps category set.")

@commands.group(cooldown=None, invoke_without_command=True, case_insensitive=True)
async def tutorial(self, ctx: KurisuContext):
"""Links to one of multiple guides"""
Expand Down

0 comments on commit 66f6320

Please sign in to comment.