DeepBlue/cogs/fun/responses.py

32 lines
1.3 KiB
Python
Raw Permalink Normal View History

2020-01-09 03:03:18 +01:00
import discord
from discord.ext import commands
class Responses(commands.Cog):
def __init__(self, client):
self.client = client
@commands.Cog.listener()
async def on_message(self, message: discord.Message):
2020-02-05 17:04:49 +01:00
if message.author == self.client.user:
return
2020-01-09 03:03:18 +01:00
# @applesauce
if ("<@!568271450176356352>" in message.content) and ("<@!657709911337074698>" in message.content):
await message.channel.send(f"Stop pinging us {message.author.mention} <:pinged:451198700832817202>")
return
2020-03-24 16:58:03 +01:00
"""
2020-01-11 21:31:50 +01:00
if message.author.id == 478006431589728259:
if message.content == "<@&380535423233032193> NUMBERS REEEEEEEE":
await message.channel.send(f"<@&380535423233032193> {message.author.mention} REEEEEEEE")
if message.content == "<@&380535423233032193> <:nockgun:352019166288543745> 🔢":
await message.channel.send(f"<@&380535423233032193> <:nockgun:352019166288543745> {message.author.mention}")
if message.content == "<@&380535423233032193> is NOT for numbers":
await message.channel.send(f"<@&380535423233032193> ***IS*** for numbers")
2020-03-24 16:58:03 +01:00
"""
2020-01-09 03:03:18 +01:00
def setup(client):
client.add_cog(Responses(client))