HERR AURIN DER GOAT🦕
DIAdiscord.js - Imagine an app
•Created by HERR AURIN DER GOAT🦕 on 5/25/2024 in #djs-questions
MongooseError: Model.findOne() no longer accepts a callback
Hello I coded an auditlog system and now I have a problem and I can't get it solved can someone help me here is the error message; throw new MongooseError('Model.findOne() no longer accepts a callback');
^
MongooseError: Model.findOne() no longer accepts a callback
at Function.findOne (C:\Users\canjo\Desktop\MeeTooBot\node_modules\mongoose\lib\model.js:2351:11)
at send_log (C:\Users\canjo\Desktop\MeeTooBot\src\handlers\handlerlogs.js:7:19)
at Client.<anonymous> (C:\Users\canjo\Desktop\MeeTooBot\src\handlers\handlerlogs.js:335:16)
at Client.emit (node:events:519:28)
at C:\Users\canjo\Desktop\MeeTooBot\node_modules\discord-logs\lib\handlers\voiceStateUpdate.js:47:20
at Generator.next (<anonymous>)
at C:\Users\canjo\Desktop\MeeTooBot\node_modules\discord-logs\lib\handlers\voiceStateUpdate.js:8:71
at new Promise (<anonymous>)
at __awaiter (C:\Users\canjo\Desktop\MeeTooBot\node_modules\discord-logs\lib\handlers\voiceStateUpdate.js:4:12)
at handleVoiceStateUpdateEvent (C:\Users\canjo\Desktop\MeeTooBot\node_modules\discord-logs\lib\handlers\voiceStateUpdate.js:18:12)
Node.js v20.13.1
4 replies
DIAdiscord.js - Imagine an app
•Created by HERR AURIN DER GOAT🦕 on 4/19/2024 in #djs-questions
TicTacToe buttons don't work
2 replies
DIAdiscord.js - Imagine an app
•Created by HERR AURIN DER GOAT🦕 on 4/18/2024 in #djs-questions
interaction.reply is not a function)
Hello can someone help me I want a poll command code have everything ready but whenever I type /poll always comes (There was an error running this command: TypeError: interaction.reply is not a function)
6 replies
DIAdiscord.js - Imagine an app
•Created by HERR AURIN DER GOAT🦕 on 4/18/2024 in #djs-questions
interaction.reply is not a function
2 replies