#slash commands not showing up
1 messages · Page 1 of 1 (latest)
ok, so you initially had guild commands. they were working fine. then you switched to globals, they show up in DMs but not in the guild?
Not quite, I had them on guild to test on my own server and they were working fine. I added them to the production server but they never showed up. I then switched it over to global and waited a couple hours for cache and they still didn't pop up. However, in all instances fetching the commands returned the list of commands I have. The current situation is: they show up in DMs but not in the guild
The bot was kicked and readded many times with the correct scopes
ok, so you were talking about two different servers. what shows up if you run Guild#commands#fetch with Guild being your production guild?
and what does TextChannel#permissionsFor(GuildMember)#serialize() show? TextChannel being the channel you are trying to run the commands in and GuildMember being you as a GuildMember in your production guild, e.g. fetched by your id
guild commands fetch returns the entire list of commands
can you show it?
yeah, I need to configure my logs real quick. I'm using heroku so everything has an extra step
so your production server has them registered as guild commands? them not showing up is most likely a permission issue, please log them as I said above
So, you were right the guy I'm working with didn't know how to properly enable the permissions. Now its enabled, should I readd the bot or should it automatically work? In addition, do I need to go through every channel and specify the green check?
if you give the permission to the everyone role you don't need channel overrides
gave the permissions but still no dice
what about commands from other bots, do those show up?
there are no other bots, and I don't really know which other bots I would add
but the built-in commands are there, i'm not sure if they would be or not
they always show up afaik. did the permissions log correctly? if yes, then I have no idea why it's not working
I figured it out, thank you