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')) {
|
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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue