remove debug logs

This commit is contained in:
Lea 2023-03-25 21:01:53 +01:00
parent ac7146a57a
commit 34642dfbd4
Signed by: Lea
GPG key ID: 1BAFFE8347019C42

View file

@ -260,10 +260,8 @@ client.on('message', async (message) => {
const arg = args[i]; const arg = args[i];
if (arg.match(RE_FLAG)) { if (arg.match(RE_FLAG)) {
const name = arg.match(RE_FLAG_NAME)?.[0].substring(2); const name = arg.match(RE_FLAG_NAME)?.[0].substring(2);
console.log('name', name)
if (!name) continue; if (!name) continue;
const flag = CommandFlags.find(flag => flag.name == name); const flag = CommandFlags.find(flag => flag.name == name);
console.log('flag', flag)
if (!flag) continue; if (!flag) continue;
let value: string | boolean | null = null; let value: string | boolean | null = null;