Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion tagging/tagging.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def __init__(self, bot: ModmailBot):
@checks.has_permissions(PermissionLevel.SUPPORTER)
@commands.command()
@checks.thread_only()
async def tag(self, ctx: commands.Context, tag: Optional[str]) -> None:
async def tag(self, ctx: commands.Context, *, tag: Optional[str]) -> None:
"""
Append a tag at the beginning of the channel name.

Expand All @@ -29,6 +29,9 @@ async def tag(self, ctx: commands.Context, tag: Optional[str]) -> None:
else:
name = clean_name

await ctx.reply(
"Changes may take up to 10 minutes to take effect due to rate-limits."
)
await ctx.channel.edit(name=name)
await ctx.message.add_reaction("\u2705")

Expand Down