I’m currently working on setting up a Discord bot for Rise of Kingdoms (ROK)
I’m currently working on setting up a Discord bot for Rise of Kingdoms (ROK), and I could use some assistance! I’m aiming to develop a bot using JavaScript and Node.js that allows users to request specific titles within the game. Titles are important in ROK as they confer various bonuses and prestige.
I envision the bot working like this: users can simply type a command to request a specific title( Title they want, Players coordinates, ID) and the bot will provide it if available if not they go into a waiting queue that has a time limit if they don’t accept so people won’t be waiting for it. This could be incredibly helpful for our community, making it easier for players to manage their titles and optimize their gameplay.
To make this a reality, I need help with coding the bot and integrating it into our Discord server. I Need the source code to implementing other features and requests to enhance the bot’s functionality over time.
Cannot Register Slash Commands while Building my Discord Bot
I have trying my hands out in building my own Discord Bot. I have tuned it to reply on any message from the user. I have built it entirely by reading the documentation on discord.js. The reply thing is working perfectly. However, as per the code in the documentation to register a slash command it’s not working with me:-(