aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joseph Banks <[email protected]>2019-09-22 21:27:36 +0100
committerGravatar Joseph Banks <[email protected]>2019-09-22 21:27:36 +0100
commitf48a587b8c889ca64947c36955e12e7ffd963093 (patch)
tree0d48011d92b2f18848abc78d1f4e43f353de8d69
parentMerge branch 'master' into defcon-fix-django (diff)
Return the message to send
-rw-r--r--bot/cogs/defcon.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bot/cogs/defcon.py b/bot/cogs/defcon.py
index d29f8f40d..cf47697ff 100644
--- a/bot/cogs/defcon.py
+++ b/bot/cogs/defcon.py
@@ -254,6 +254,8 @@ class Defcon(Cog):
f"```py\n{e}\n```"
)
+ return msg
+
async def send_defcon_log(self, change: str, actor: Member, e: Exception = None) -> None:
"""
Send log message for DEFCON action.