Fixed Typo
This commit is contained in:
@@ -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