mirror of
https://github.com/ION606/selmerBot.git
synced 2026-05-14 21:26:54 +00:00
Fixed some remaining changes from the transition to Slash commands
This commit is contained in:
+2
-3
@@ -17,9 +17,8 @@ function registerCommands(bot) {
|
||||
key: code
|
||||
*/
|
||||
bot.commands.forEach((val, key) => {
|
||||
|
||||
if (val.options && val.name != 'econ') {
|
||||
if (val.isDM) {
|
||||
if ((val.options && val.name != 'econ') || val.isDm) {
|
||||
if (val.isDm) {
|
||||
commands.create({
|
||||
name: val.name,
|
||||
description: val.description,
|
||||
|
||||
Reference in New Issue
Block a user