From a90abe82802c87101e71c9bc2b159ac6d3f6533b Mon Sep 17 00:00:00 2001 From: geirawsm Date: Fri, 13 Dec 2024 23:00:15 +0100 Subject: [PATCH] Made say command mention roles --- sausage_bot/__main__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sausage_bot/__main__.py b/sausage_bot/__main__.py index 7ea0e5f..635d5f1 100755 --- a/sausage_bot/__main__.py +++ b/sausage_bot/__main__.py @@ -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)})')