12 lines
229 B
Python
12 lines
229 B
Python
|
from discord.ext import commands
|
||
|
|
||
|
|
||
|
@commands.hybrid_command()
|
||
|
async def ping(ctx: commands.Context):
|
||
|
await ctx.send("pong")
|
||
|
|
||
|
|
||
|
@commands.hybrid_command()
|
||
|
async def foo(ctx: commands.Context, arg: str):
|
||
|
await ctx.send(arg)
|