aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-05-15 13:33:00 +0100
committerGravatar Gareth Coles <[email protected]>2018-05-15 13:33:00 +0100
commitf6f0746ce41266b2297207a870cff328cc61bdcb (patch)
treef8ac5540803b4f7f78e9ccd52f52eba0e5e443f9
parent[GDPR] Perhaps awaiting the coroutine is a good idea (diff)
[GDPR] Also remove OAuth data
-rw-r--r--bot/cogs/events.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/bot/cogs/events.py b/bot/cogs/events.py
index 04eed2d92..4e0c1929d 100644
--- a/bot/cogs/events.py
+++ b/bot/cogs/events.py
@@ -115,8 +115,13 @@ class Events:
for key, value in done.items():
if value:
+ if key == "deleted_oauth":
+ key = "Deleted (OAuth)"
+ else:
+ key = key.title()
+
embed.add_field(
- name=key.title(), value=str(value)
+ name=key, value=str(value)
)
await self.bot.get_channel(DEVLOG_CHANNEL).send(