yourmom.py.disabled 523 B

123456789101112131415161718
  1. import discord
  2. from discord.ext.commands import Cog
  3. def setup(bot: discord.Bot):
  4. bot.add_cog(YourMom(bot))
  5. class YourMom(Cog):
  6. """Old joke is old, blame pizza"""
  7. def __init__(self, bot: discord.Bot):
  8. self.bot: discord.Bot = bot
  9. print("Initialized YourMom cog")
  10. @Cog.listener()
  11. async def on_message(self, message: discord.Message):
  12. if message.author.id == self.bot.user.id:
  13. return
  14. if "doing" in message.content.lower():
  15. await message.reply("doin' your mom, doin' doin' your mom!", mention_author=False)