turdbot/py/cogs/reply.py

12 lines
267 B
Python
Raw Normal View History

2023-12-04 13:51:43 -07:00
from discord.ext import bridge, commands
class Reply(commands.Cog):
def __init__(self, bot):
self.bot = bot
@bridge.bridge_command()
async def reply(self, ctx, *args):
2023-12-14 18:47:29 -07:00
await ctx.send(args[0:])
2023-12-04 13:51:43 -07:00
def setup(bot):
bot.add_cog(Reply(bot))