Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When I do /play foo with slash commands #65

Open
SysMath opened this issue Jun 25, 2022 · 0 comments
Open

When I do /play foo with slash commands #65

SysMath opened this issue Jun 25, 2022 · 0 comments

Comments

@SysMath
Copy link

SysMath commented Jun 25, 2022

Lavalink Version:
Version: 3.4
Build: 1257
Build time: 26.10.2021 14:18:37 UTC
Branch master
Commit: a364833
Commit time: 26.10.2021 14:15:20 UTC
JVM: 11.0.15
Lavaplayer 1.3.96-original

Java Version:
openjdk version "11.0.15" 2022-04-19
OpenJDK Runtime Environment (build 11.0.15+10-post-Debian-1deb10u1)
OpenJDK 64-Bit Server VM (build 11.0.15+10-post-Debian-1deb10u1, mixed mode, sharing)

Laffey Version: 2.0.0-dev
NodeJS Version: 16.X

Error:
node:events:505
throw er; // Unhandled 'error' event
^
TypeError: ctx.isCommand is not a function
at Object.execute (/home/container/src/events/interactionCreate.js:7:18)
at Laffey. (/home/container/src/modules/eventHandler.js:16:63)
at Laffey.emit (node:events:527:28)
at InteractionCreateAction.handle (/home/container/node_modules/discord.js/src/client/actions/InteractionCreate.js:81:12)
at Object.module.exports [as INTERACTION_CREATE] (/home/container/node_modules/discord.js/src/client/websocket/handlers/INTERACTION_CREATE.js:4:36)
at WebSocketManager.handlePacket (/home/container/node_modules/discord.js/src/client/websocket/WebSocketManager.js:352:31)
at WebSocketShard.onPacket (/home/container/node_modules/discord.js/src/client/websocket/WebSocketShard.js:476:22)
at WebSocketShard.onMessage (/home/container/node_modules/discord.js/src/client/websocket/WebSocketShard.js:320:10)
at WebSocket.onMessage (/home/container/node_modules/discord.js/node_modules/ws/lib/event-target.js:199:18)
at WebSocket.emit (node:events:527:28)
at Receiver.receiverOnMessage (/home/container/node_modules/discord.js/node_modules/ws/lib/websocket.js:1169:20)
at Receiver.emit (node:events:527:28)
at Receiver.dataMessage (/home/container/node_modules/discord.js/node_modules/ws/lib/receiver.js:528:14)
at Receiver.getData (/home/container/node_modules/discord.js/node_modules/ws/lib/receiver.js:446:17)
at Receiver.startLoop (/home/container/node_modules/discord.js/node_modules/ws/lib/receiver.js:148:22)
at Receiver._write (/home/container/node_modules/discord.js/node_modules/ws/lib/receiver.js:83:10)
Emitted 'error' event on Laffey instance at:
at emitUnhandledRejectionOrErr (node:events:384:10)
at processTicksAndRejections (node:internal/process/task_queues:85:21)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant