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

View file

@ -40,6 +40,7 @@ class starboard(commands.Cog):
name="starboard", name="starboard",
description="For all your starring needs", description="For all your starring needs",
default_member_permissions=nextcord.Permissions(manage_messages=True), default_member_permissions=nextcord.Permissions(manage_messages=True),
force_global=True,
) )
async def starboard(self, interaction: nextcord.Interaction): async def starboard(self, interaction: nextcord.Interaction):
return return
@ -47,7 +48,6 @@ class starboard(commands.Cog):
@starboard.subcommand( @starboard.subcommand(
name="create", name="create",
description="Create a starboard, escape the emoji", description="Create a starboard, escape the emoji",
force_global=True,
) )
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.channel, minimumneeded: int, selfstar: str = nextcord.SlashOption(choices=["Yes", "No"])):
selfstar = False selfstar = False