From 329135cfca6ac002d1f3b478dde426017a9a9224 Mon Sep 17 00:00:00 2001 From: dnns01 <mail@dnns01.de> Date: Fri, 25 Sep 2020 18:16:13 +0200 Subject: [PATCH] Added !sinn command that sends 42 as answer --- fernuni-bot.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fernuni-bot.py b/fernuni-bot.py index 06f1904..cd6346a 100644 --- a/fernuni-bot.py +++ b/fernuni-bot.py @@ -102,6 +102,11 @@ async def send_dm(user, message, embed=None): await user.dm_channel.send(message, embed=embed) +@bot.command(name="sinn") +async def cmd_sinn(ctx): + await ctx.send("42 :robot:") + + @bot.command(name="help") async def cmd_help(ctx): """ Send help message as DM """ -- GitLab