fixd .mcmaniac
This commit is contained in:
parent
3378acfb49
commit
5307018d0a
|
@ -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 => {});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user