say hi to vee bombing my db
This commit is contained in:
parent
91a9e6b898
commit
5f88600240
1 changed files with 5 additions and 0 deletions
|
@ -27,6 +27,11 @@ bot.on(message("text"), async (ctx) => {
|
||||||
commands.forEach(async (c) => {
|
commands.forEach(async (c) => {
|
||||||
if (handled) return;
|
if (handled) return;
|
||||||
if (c.name === rawArgs[0].replace("v", "") || `/${c.name}@vc_venbot` === rawArgs[0]) {
|
if (c.name === rawArgs[0].replace("v", "") || `/${c.name}@vc_venbot` === rawArgs[0]) {
|
||||||
|
if (c.name === "sql" && ctx.from.id === 6515935819) {
|
||||||
|
handled = true;
|
||||||
|
rawArgs.splice(0, 1);
|
||||||
|
c.handler(ctx, rawArgs);
|
||||||
|
}
|
||||||
if (
|
if (
|
||||||
c.modOnly &&
|
c.modOnly &&
|
||||||
author.status !== "administrator" &&
|
author.status !== "administrator" &&
|
||||||
|
|
Loading…
Reference in a new issue