Skip to content

Commit

Permalink
Made say command mention roles
Browse files Browse the repository at this point in the history
  • Loading branch information
geirawsm committed Dec 13, 2024
1 parent aba9424 commit a90abe8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sausage_bot/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,9 @@ async def ban(
)
async def say(
interaction: discord.Interaction, channel: discord.TextChannel,
message_id: str = None, mention: discord.Member = None
message_id: str = None, mention: typing.Union[
discord.Member, discord.Role
] = None
):
reply_msg = None
log.debug(f'`channel` is {channel} ({type(channel)})')
Expand Down

0 comments on commit a90abe8

Please sign in to comment.