mirror of
https://github.com/musix-org/musix-oss
synced 2025-08-01 20:54:33 +00:00
Fixed after christer. Updated dev only commands.
This commit is contained in:
8
index.js
8
index.js
@@ -37,13 +37,7 @@ client.funcs.msToTime = require('./funcs/msToTime.js');
|
||||
client.funcs.dbget = require('./funcs/dbget.js');
|
||||
client.funcs.exe = require('./funcs/exe.js');
|
||||
|
||||
client.config = {
|
||||
token: process.env.DISCORD_TOKEN,
|
||||
debug_channel: process.env.DISCORD_DEBUG_CHANNEL_ID,
|
||||
apikey: process.env.YOUTUBE_KEY,
|
||||
devId: process.env.DISCORD_DEV_UID,
|
||||
prefix: process.env.PREFIX
|
||||
};
|
||||
client.config = require('./config/config.js');
|
||||
|
||||
const commandFiles = fs.readdirSync('./commands/').filter(f => f.endsWith('.js'));
|
||||
for (const file of commandFiles) {
|
||||
|
Reference in New Issue
Block a user