astro
astro
DIAdiscord.js - Imagine an app
Created by astro on 4/26/2024 in #djs-questions
Command handler change
Would it be possible (is there an example) of a command handler, that looks into a folder with all of the commands, but instead, if there are subcommands, you don't handle them with like switch case statements for example, but you have a folder, and all of the subcommands have their own modules (so you can work easier and not having to scroll through god know how long of a single module to get to a specific subcommand's code.
30 replies
DIAdiscord.js - Imagine an app
Created by astro on 3/18/2024 in #djs-questions
User bot installation support
Is there going to be discord.js support for new user install apps?
7 replies
DIAdiscord.js - Imagine an app
Created by astro on 3/7/2024 in #djs-questions
Shifts logs
Hello, I've been thinking of adding a command to my bot that logs people's shifts. The concept is that when someone runs the command, it makes an id and logs it in a database, and then the person running the command would be timed. The database thing is not the problem, the problem is that I don't know where to get started. At the end it would also log that shift in a database with how many minutes that person has patrolled on that shift. Can someone point me in the right direction, then the rest I will most likely figure out on my own.
13 replies
DIAdiscord.js - Imagine an app
Created by astro on 1/12/2024 in #djs-questions
bot errors after reboot command
No description
5 replies
DIAdiscord.js - Imagine an app
Created by astro on 1/11/2024 in #djs-questions
changing stuff around when a button is clicked
how would i make it so when a button is clicked on an embed, it does the following things; change the embed into something else (title, desc, etc.) make the buttons disable (gray out) make the bot reply with an epheral message saying whatever
53 replies