diff --git a/discord/abc.py b/discord/abc.py index 842038a4e3..2403391961 100644 --- a/discord/abc.py +++ b/discord/abc.py @@ -416,8 +416,12 @@ async def _edit( ) except KeyError: pass - if options.get("flags"): - options["flags"] = options["flags"].value + + try: + options["flags"] = options.pop("flags").value + except KeyError: + pass + try: options["available_tags"] = [ tag.to_dict() for tag in options.pop("available_tags")