From c51353df76ce7aa7fb1884856c9e9716422b5930 Mon Sep 17 00:00:00 2001 From: Dylan Dizon Date: Sat, 3 Nov 2018 17:03:47 -0400 Subject: [PATCH] Change flag options to align with command standards --- src/utils/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/utils.py b/src/utils/utils.py index 17d48d3..1410e49 100644 --- a/src/utils/utils.py +++ b/src/utils/utils.py @@ -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