mirror of
https://github.com/myned/modufur.git
synced 2024-12-24 14:27:27 +00:00
Change flag options to align with command standards
This commit is contained in:
parent
57431b8de5
commit
c51353df76
1 changed files with 2 additions and 2 deletions
|
@ -138,13 +138,13 @@ def get_kwargs(ctx, args, *, limit=False):
|
|||
rm = False
|
||||
lim = 1
|
||||
|
||||
for flag in ('-d', '-dm'):
|
||||
for flag in ('-dm', '-pm', '--message'):
|
||||
if flag in remaining:
|
||||
destination = ctx.author
|
||||
|
||||
remaining.remove(flag)
|
||||
|
||||
for flag in ('-r', '-rm', '-remove', '-re', '-repl', '-replace'):
|
||||
for flag in ('-r', '-rm', '--remove'):
|
||||
if flag in remaining and ctx.author.permissions_in(ctx.channel).manage_messages:
|
||||
rm = True
|
||||
|
||||
|
|
Loading…
Reference in a new issue