From e2b3c636ac131b770d37b876a8581c4b7b4db436 Mon Sep 17 00:00:00 2001 From: Lukas Blacha Date: Fri, 3 Feb 2023 11:02:29 +0100 Subject: [PATCH] Fixed Typo --- Einführung/05_Python-Basic-Discord-Bot.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Einführung/05_Python-Basic-Discord-Bot.md b/Einführung/05_Python-Basic-Discord-Bot.md index a267070..e6ae02c 100644 --- a/Einführung/05_Python-Basic-Discord-Bot.md +++ b/Einführung/05_Python-Basic-Discord-Bot.md @@ -47,7 +47,7 @@ Um ein Command zu erstellen gibt es auch wieder einen Dekorator. Commands werden Ein Beispiel für einen Command um zwei Strings miteinander zu verbinden: > ``` -> bot.command() +> @bot.command() > async def add(ctx: commands.Context, left: int, right: int): > """Adds two numbers together.""" > await ctx.send(str(left + right))