Fixed Typo
This commit is contained in:
1 parent
fef4efd923
commit
e2b3c636ac
1 file changed
+1
-1
@@ -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:
|
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):
|
> async def add(ctx: commands.Context, left: int, right: int):
|
||||||
> """Adds two numbers together."""
|
> """Adds two numbers together."""
|
||||||
> await ctx.send(str(left + right))
|
> await ctx.send(str(left + right))
|
||||||
|
|||||||
Reference in new issue
Block a user