1
0
Fork 0
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:
Dylan Dizon 2018-11-03 17:03:47 -04:00
parent 57431b8de5
commit c51353df76

View file

@ -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