#Help me with my error

1 messages · Page 1 of 1 (latest)

ebon sigil
#

code?

jolly escarp
#

send code

inner canopy
#

yes if its a global command and youve just pushed changes to it

#

global commands take up to 1 hour to cache on discords side

#

if youre developing commands on a global scale consider using debug_guilds in your bot constructor

jolly escarp
#

yea

inner canopy
#

what

jolly escarp
#

add debus guilds in bot = ...(debug_guilds=[id])

#

@rough wind work?

jolly escarp
#

or add to slash command guild_ids like @slash_command(guild_ids=[id])

zinc needle
#

yeah something is wrong with that lol

#

dosent work

jolly escarp
#

🤔

zinc needle
#

what?

#

oh

#

android the person

jolly escarp
#

yea

zinc needle
#

do you wanna try to use it?

#

bc i just did

jolly escarp
#

yea

jolly escarp
zinc needle
#

its not only me right?

#

slash commands are screwed rn

jolly escarp
#

no

#

in main file

#

where u have bot = commands.Bot or etc

#

yea

inner canopy
jolly escarp
#

ow

#

no

#

into other brackets

#

not in intents

#

and move this

#
bot = commands.Bot('!', intents=discord.Intents.all(), activity=watching, debug_guilds=[ur guild id])
inner canopy
#

the more important question is why do you have two?

jolly escarp
#

yea

inner canopy
#

youre developing slash commands

jolly escarp
#

global command will be added in about ~12 hours

#

yea

inner canopy
#

but with debug_guilds all global commands will be registered to the given guilds instead for development purposes

jolly escarp
#

add and send screen

#

remove last line

#

and move watching before first line

#

move watching now

#

and replace ur guild id to your server id

#

yea good

#

go test

#

hm

#

try this

watching = discord.Game(name="/help")
#

and replace "!" to command_prefix = "!"

jolly escarp
jolly escarp
#

yea

inner canopy
#

you can ignore it if youre on master

jolly escarp
#

hm

#

check guild id, maybe its not correct

#

o

#

u add bot with create commands perms?

#

with this

inner canopy
#

have you also verified that the bot is actually running?

#

by seeing if its online on discord

jolly escarp
#

can u show slash command

#

one command

#

show command

#

try use guild_ids

#

maybe its help

#

hm

#

but u need respond on command?