fix flag?

This commit is contained in:
Supositware 2022-09-12 11:28:24 +02:00
parent fcc23324f2
commit f13c1f3ca2

View file

@ -381,8 +381,7 @@ export default {
else if (type.includes('attachment')) { else if (type.includes('attachment')) {
payload = message.attachments.first(); payload = message.attachments.first();
} }
else if (payload.startsWith('--')) {
if (payload.startsWith('--')) {
arg.name = payload.substring(2); arg.name = payload.substring(2);
payload = true; payload = true;
} }