Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from discord.ext import commands
- class Mimic:
- """Repeats text"""
- def __init__(self, bot):
- self.bot = bot
- @commands.command(no_pm=True)
- async def copycat(self, *, text):
- """Copies your words"""
- await self.bot.say(text)
- def setup(bot):
- n = Mimic(bot)
- bot.add_cog(n)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement