This commit is contained in:
insert 2024-12-26 14:35:32 -05:00
parent daeee12efe
commit eae185a05a
Signed by: insert
GPG key ID: A70775C389ACF105

View file

@ -49,7 +49,7 @@ class starboard(commands.Cog):
name="create",
description="Create a starboard, escape the emoji",
)
async def createstarboard(self, interaction: nextcord.Interaction, reaction: str, channel: nextcord.channel, minimumneeded: int, selfstar: str = nextcord.SlashOption(choices=["Yes", "No"])):
async def createstarboard(self, interaction: nextcord.Interaction, reaction: str, channel: nextcord.abc.GuildChannel, minimumneeded: int, selfstar: str = nextcord.SlashOption(choices=["Yes", "No"])):
selfstar = False
if selfstar == "Yes":
selfstar = True