aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2020-08-25 19:32:42 +0100
committerGravatar Joe Banks <[email protected]>2020-08-25 19:32:42 +0100
commitb1d63114679e9d82be61f9a49ed6e2efbd4e6420 (patch)
treef0bb10b712c67f97b425760f3fdff861a604ae1b
parentMove command invoke to before checking if we can process a user (diff)
Linting
-rw-r--r--metricity/bot.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/metricity/bot.py b/metricity/bot.py
index b2a54ff..5b5b961 100644
--- a/metricity/bot.py
+++ b/metricity/bot.py
@@ -251,6 +251,7 @@ async def on_message(message: DiscordMessage) -> None:
created_at=message.created_at
)
+
@bot.command()
async def opt_in(ctx: Context) -> None:
"""Opt-in to the server analytics system."""