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
4 changes: 2 additions & 2 deletions bot/cogs/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from typing import Tuple, Union

from discord import Colour, Embed, utils
from discord.ext.commands import BadArgument, Cog, Context, command
from discord.ext.commands import BadArgument, Cog, Context, clean_content, command

from bot.bot import Bot
from bot.constants import Channels, MODERATION_ROLES, STAFF_ROLES
Expand Down Expand Up @@ -225,7 +225,7 @@ async def zen(self, ctx: Context, *, search_value: Union[int, str, None] = None)

@command(aliases=("poll",))
@with_role(*MODERATION_ROLES)
async def vote(self, ctx: Context, title: str, *options: str) -> None:
async def vote(self, ctx: Context, title: clean_content(fix_channel_mentions=True), *options: str) -> None:
"""
Build a quick voting poll with matching reactions with the provided options.

Expand Down