MEtooHARD
DIAdiscord.js - Imagine a boo! 👻
•Created by MEtooHARD on 12/31/2023 in #djs-questions
bot can receive events but failed to reply after running for a few hours
I'm using discord.js 14.14.1
My bot always occur Unknow Interaction because it seems can't reply to discord but it can still receive events.
I simply run it on cmd. the log freezes after running for hours, and untill I press uncertain key then the Unknow Interaction error shows.
5 replies
DIAdiscord.js - Imagine a boo! 👻
•Created by MEtooHARD on 6/12/2023 in #djs-questions
[Registering slash commands]
for now I register slash commands by the official guide from https://discordjs.guide/creating-your-bot/command-deployment.html#command-registration
and once I hit the rate limit per day(100 times), the whole rest day I couldn't test my new commands on that bot. I read discord.js website and found that
put()
refreshes all the commands every time. As now I have at least 10 commands and some times I'll adjust something like the options and .put()
many times.
So, Is there any way to simply register only one command?
I can't find other functions to do registering
and I also found client.application.commands.create(), but if not necessary I don't want to do that (though it wont take much time, perhaps)19 replies
DIAdiscord.js - Imagine a boo! 👻
•Created by MEtooHARD on 5/8/2023 in #djs-questions
Slash Command, setName() doesn't allow many of characters
21 replies