-
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Was this issue already reported?
- I have searched the existing issues
On which platform did you encounter this issue?
Desktop app
What happened
Executing the /user command sometimes fails to respond due to this error:
TypeError: Cannot read properties of null (reading 'status')
at UserInfo.run (file:///home/pfist/bots/manny/src/commands/utility/user-info.js:38:83)
at CommandHandler.handleSlashCommand (file:///home/pfist/bots/manny/node_modules/hiei.js/src/commands/CommandHandler.js:110:21)
at HieiClient.<anonymous> (file:///home/pfist/bots/manny/node_modules/hiei.js/src/commands/CommandHandler.js:63:21)
at HieiClient.emit (node:events:513:28)
at HieiClient.emit (node:domain:489:12)
at InteractionCreateAction.handle (/home/pfist/bots/manny/node_modules/discord.js/src/client/actions/InteractionCreate.js:81:12)
at Object.module.exports [as INTERACTION_CREATE] (/home/pfist/bots/manny/node_modules/discord.js/src/client/websocket/handlers/INTERACTION_CREATE.js:4:36)
at WebSocketManager.handlePacket (/home/pfist/bots/manny/node_modules/discord.js/src/client/websocket/WebSocketManager.js:352:31)
at WebSocketShard.onPacket (/home/pfist/bots/manny/node_modules/discord.js/src/client/websocket/WebSocketShard.js:481:22)
at WebSocketShard.onMessage (/home/pfist/bots/manny/node_modules/discord.js/src/client/websocket/WebSocketShard.js:321:10)
What you expected
This command should always return information about a user that's in the server.
Steps to reproduce
- Go to any text channel.
- Type
/userand select any user. - For certain users, Manny will fail to respond.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working