fixd .mcmaniac

This commit is contained in:
Flummi 2017-12-20 10:11:37 +01:00
parent 3378acfb49
commit 5307018d0a

View File

@ -18,7 +18,7 @@ export default bot => {
active: true, active: true,
clients: ["irc", "tg"], clients: ["irc", "tg"],
f: e => { f: e => {
const match = e.message.match(/.*(Mc\S+iaC?).*/)[0]; const match = e.message.match(/(Mc\S+iaC?)/)[0];
sql.any(_query_add, [match]) sql.any(_query_add, [match])
.then() .then()
.catch(err => {}); .catch(err => {});