sets lol
This commit is contained in:
@@ -15,8 +15,7 @@ let _query_add = `
|
||||
export default bot => {
|
||||
bot._trigger.set("mcmaniac_add", new bot.trigger({
|
||||
call: /Mc.*iaC/,
|
||||
active: true,
|
||||
clients: ["irc", "tg"],
|
||||
set: "nxy",
|
||||
f: e => {
|
||||
const match = e.message.match(/(Mc\S+iaC?)/)[0];
|
||||
sql.any(_query_add, [match])
|
||||
@@ -27,8 +26,7 @@ export default bot => {
|
||||
|
||||
bot._trigger.set("mcmaniac_get", new bot.trigger({
|
||||
call: /^(\.|\/)mcmaniac/i,
|
||||
active: true,
|
||||
clients: ["irc", "tg"],
|
||||
set: "nxy",
|
||||
f: e => {
|
||||
const args = e.message.trim().substring(10);
|
||||
let order = "id asc"
|
||||
|
||||
Reference in New Issue
Block a user