issues
search
joeyk710
/
sample-discordjs-bot
This is a sample discord bot made with TypeScript, using discord.js. Uses examples from the discord.js guide - https://discordjs.guide/ with a handler that supports command categories.
GNU General Public License v3.0
15
stars
3
forks
source link
refactor: removing options & adjusted ping
#26
Closed
joeyk710
closed
1 year ago
joeyk710
commented
1 year ago
Removed
guildOnly
option since
dm_permission
can be used to prevent the command from being ran inside a DM.
The
visible
option really was meant for hiding specific commands shown in a help command, which was never added to this project.
The
ping command
was adjusted to use a promise-based setTimeout instead of an asynchronous callback in the native setTimeout.
guildOnly
option sincedm_permission
can be used to prevent the command from being ran inside a DM.visible
option really was meant for hiding specific commands shown in a help command, which was never added to this project.