#refresh bot commands

1 messages · Page 1 of 1 (latest)

royal daggerBOT
#

Hey! Once your issue is solved, press the button below to close this thread!

trail mulch
#

if you're using global commands it can take a while for them to show up

royal daggerBOT
#
Global vs. Guild
Author

@royal dagger

Timestamps

Created at: <t:1670093462:R>
Last edited: <t:1681483389:R>

Counts

Words: 57
Characters: 360

trail mulch
#

let me send you something rq

#

global commands are available for every guild yor bot is in, whereas guild commands are specific to one guild

#

time can vary but if you want the commands to just show in one guild for testing, you can add the debug_scope parameter to your bot object or add a scope parameter to the command:

bot = Client(
   intents=intents,
   debug_scope=GUILD_ID_HERE
)
@slash_command("command", description="This is a test", scopes=GUILD_ID_HERE)
async def my_command(self, ctx):
     ...