discord-api-docs
discord-api-docs copied to clipboard
User becomes the bot when running slash commands
Description
When running a slash command with commands v2 and only having the bot added with the applications.commands scope, the user becomes the bot.
Steps to Reproduce
- Have commands v2
- Add a bot with the applications.commands scope only
- Run a slash command
Expected Behavior
The bot shows up as the author of the message.
Current Behavior
The user is the author of the message instead of the bot.
Screenshots/Videos
Client and System Information
Canary 124512 (86fdc25) Host 1.0.46 Windows 10 64-Bit (10.0.22000)
is this still happening? not able to repro :(
I can no longer repro this, the only thing I can notice is a separate (but possibly related) issue where the bot avatar shows as default in chat unless its been cached before by the client.
Can repro with Canary 131336 (bd78700)
Any consistent repro steps?
For some reason I can't repro anymore after using a single slash command of the bot, it shows the default profile picture and that's it
I also encountered this.
Don't have any repro steps but this is info i can remember:
- i just entered the channel and not all slash command have fully loaded when I sent the command
- i invited a bot which just created a fresh slash command called the command I used
can't repro when I tried again
Windows 11 64-Bit (10.0.22621) Canary 154165 (528539f)
I accidentally just captured this on video
https://user-images.githubusercontent.com/78901316/197836311-a7cd7fe0-f8c6-4e12-b32c-d02e0385ec95.mp4
This seems to be caused sometimes when slash commands just recently reloaded, and the application does not respond.
Canary 154144 (af04062)
Host 0.0.140
Linux 64-Bit (5.19.0-23-Generic)
This seems to be caused sometimes when slash commands just recently reloaded, and the application does not respond.
Canary 154144 (af04062) Host 0.0.140 Linux 64-Bit (5.19.0-23-Generic)
For me it even happens when the application does respond... when it respond the avatar fixes itself
can repro, seems to happen when the slash commands aren't fully loaded, such as using frequently used commands but they're not actually fully loaded. when used, this sometimes happens. Not all the time. It's a very odd bug. It persists to this day though.