Lawin0129 / LawinServerV2

LawinServer V2 is a fortnite backend written in Node.js that features an account system and xmpp.
GNU General Public License v3.0
107 stars 70 forks source link

Backend crashes when users register #19

Closed P3T3ROnGitHub closed 1 year ago

P3T3ROnGitHub commented 1 year ago

Rarely the backend crashes when someone register an account. Here is the error code: C:\Users\csaba\desktop\BACKEND\node_modules\discord.js\src\rest\RequestHandler.js:350 throw new DiscordAPIError(data, res.status, request); ^

DiscordAPIError: Unknown interaction at RequestHandler.execute (C:\Users\csaba\desktop\BACKEND\node_modules\discord.js\src\rest\RequestHandler.js:350:13) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async RequestHandler.push (C:\Users\csaba\desktop\BACKEND\node_modules\discord.js\src\rest\RequestHandler.js:51:14) at async CommandInteraction.reply .

ps: please do it to save your settings, it's also good if it's the same every season, it's much better than not saving it at all

Lawin0129 commented 1 year ago

Fixed