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')) {
payload = message.attachments.first();
}
if (payload.startsWith('--')) {
else if (payload.startsWith('--')) {
arg.name = payload.substring(2);
payload = true;
}