Update default-addon.js
This commit is contained in:
1 parent
065a2e9347
commit
018e47bd53
1 file changed
+3
-1
@@ -3,8 +3,10 @@
|
||||
|
||||
const Discord = require("discord.js");
|
||||
const bot = new Discord.Client()
|
||||
const someaddon = new Discord.Client()
|
||||
|
||||
bot.settings = require("../settings.json");
|
||||
someaddon.settings = require("./settings/someaddon.json");
|
||||
|
||||
exports.run = async(bot, message, args) => {
|
||||
message.delete();
|
||||
@@ -14,5 +16,5 @@ exports.run = async(bot, message, args) => {
|
||||
}
|
||||
|
||||
exports.help = {
|
||||
name: 'addon',
|
||||
name: someaddon.settings.Addon_Example_Command,
|
||||
}
|
||||
Reference in new issue
Block a user