diff --git a/starboard.py b/starboard.py index 839a414..b60e7c1 100644 --- a/starboard.py +++ b/starboard.py @@ -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