fix flag?
This commit is contained in:
parent
fcc23324f2
commit
f13c1f3ca2
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue