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))