Advertisement
Guest User

mimic.py

a guest
Aug 24th, 2016
411
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.33 KB | None | 0 0
  1. from discord.ext import commands
  2.  
  3.  
  4. class Mimic:
  5.     """Repeats text"""
  6.  
  7.     def __init__(self, bot):
  8.         self.bot = bot
  9.  
  10.     @commands.command(no_pm=True)
  11.     async def copycat(self, *, text):
  12.         """Copies your words"""
  13.         await self.bot.say(text)
  14.  
  15.  
  16. def setup(bot):
  17.     n = Mimic(bot)
  18.     bot.add_cog(n)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement