client.on("messageCreate", msg => {
if (msg.author.id != client.user.id && msg.content.startsWith("!") && !fb.ignored[msg.author.id]) {
- let args = msg.content.slice(1).split(" ")
- let cmd = common.stripPings(args.shift())
+ let args = msg.content.replace(/@/g, "\\@").slice(1).split(" ")
+ let cmd = args.shift()
let def = fb.commands[cmd]
if (def) {
}
})
-//const modules = ["random"]
-const modules = ["basic", "bullshit", "marriage", "http", "roleplay", "death", "economy", "waifu", "operator", "nsfw"]
+const modules = ["basic", "bullshit", "marriage", "http", "roleplay", "death", "economy", "waifu", "operator", "nsfw", "random"]
for (let f of modules) {
let m = require(`./${f}.js`)