bump libs
migrate to typescript 6 remove ytdl feature
This commit is contained in:
@@ -12,7 +12,7 @@ export class Choice extends Command {
|
||||
async execute(msg: Message, match?: RegExpExecArray): Promise<void> {
|
||||
console.log("match", match);
|
||||
|
||||
const payload = match[3];
|
||||
const payload = match?.[3] || "";
|
||||
|
||||
const re =
|
||||
/\s*(?:"((?:\\.|[^"\\])*)"|'((?:\\.|[^'\\])*)'|([^,]+?))\s*(?:,|$)/g;
|
||||
|
||||
Reference in New Issue
Block a user