Autoreact to kardashian/jenner
All checks were successful
Build Heidi Docker image / build-docker (push) Successful in 7s
All checks were successful
Build Heidi Docker image / build-docker (push) Successful in 7s
This commit is contained in:
12
bot.py
12
bot.py
@ -57,8 +57,9 @@ class HeidiClient(discord.Client):
|
|||||||
# if the predicate is true the action is performed
|
# if the predicate is true the action is performed
|
||||||
self.auto_triggers = {
|
self.auto_triggers = {
|
||||||
# lambda m: m.author.nick.lower() in self.models.get_in_names(): self.autoreact_to_girls,
|
# lambda m: m.author.nick.lower() in self.models.get_in_names(): self.autoreact_to_girls,
|
||||||
lambda m: "jeremy"
|
lambda m: "jeremy" in m.author.nick.lower(): self._autoreact_to_jeremy,
|
||||||
in m.author.nick.lower(): self._autoreact_to_jeremy
|
lambda m: "kardashian" in m.author.nick.lower()
|
||||||
|
or "jenner" in m.author.nick.lower(): self._autoreact_to_kardashian,
|
||||||
}
|
}
|
||||||
|
|
||||||
# Textgen
|
# Textgen
|
||||||
@ -143,6 +144,13 @@ class HeidiClient(discord.Client):
|
|||||||
"""
|
"""
|
||||||
await message.add_reaction("🧀")
|
await message.add_reaction("🧀")
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
async def _autoreact_to_kardashian(message):
|
||||||
|
"""
|
||||||
|
💄 Kardashian
|
||||||
|
"""
|
||||||
|
await message.add_reaction("💄")
|
||||||
|
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user