mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
Bump the auto delete to 3 minutes, and add rishi & boris quotes
This commit is contained in:
parent
36e8045a3e
commit
c2b089be9c
5 changed files with 10 additions and 1 deletions
BIN
assets/common-sense.m4a
Normal file
BIN
assets/common-sense.m4a
Normal file
Binary file not shown.
BIN
assets/peppa-pig.m4a
Normal file
BIN
assets/peppa-pig.m4a
Normal file
Binary file not shown.
BIN
assets/scrapped.m4a
Normal file
BIN
assets/scrapped.m4a
Normal file
Binary file not shown.
BIN
assets/tea.m4a
Normal file
BIN
assets/tea.m4a
Normal file
Binary file not shown.
|
@ -448,6 +448,15 @@ class Events(commands.Cog):
|
||||||
r"china": {"file": discord.File(assets / "china.m4a")},
|
r"china": {"file": discord.File(assets / "china.m4a")},
|
||||||
r"drones": {"file": discord.File(assets / "drones.m4a")},
|
r"drones": {"file": discord.File(assets / "drones.m4a")},
|
||||||
r"pork($|\W+)|markets": {"file": discord.File(assets / "pork.m4a")},
|
r"pork($|\W+)|markets": {"file": discord.File(assets / "pork.m4a")},
|
||||||
|
r"common\ssense|(wo)?man($|\W+)|(trans)?gender": {
|
||||||
|
"file": discord.File(assets / "common-sense.m4a")
|
||||||
|
},
|
||||||
|
r"scrapped(\sit)?|((7\s|seven\s)?different\s)?bins|(meat\s|flying\s)?tax": {
|
||||||
|
"file": discord.File(assets / "scrapped.m4a")
|
||||||
|
},
|
||||||
|
r"peppa|pig": {"file": discord.File(assets / "peppa.m4a")},
|
||||||
|
r"brush|hair": {"file": discord.File(assets / "brush.m4a")},
|
||||||
|
r"((cup\s)?of\s)?tea": {"file": discord.File(assets / "tea.m4a")},
|
||||||
}
|
}
|
||||||
# Stop responding to any bots
|
# Stop responding to any bots
|
||||||
if message.author.bot is True:
|
if message.author.bot is True:
|
||||||
|
@ -516,7 +525,7 @@ class Events(commands.Cog):
|
||||||
if data.get("file") is not None:
|
if data.get("file") is not None:
|
||||||
if not isinstance(data["file"], discord.File):
|
if not isinstance(data["file"], discord.File):
|
||||||
data["file"] = discord.File(data["file"])
|
data["file"] = discord.File(data["file"])
|
||||||
data.setdefault("delete_after", 60)
|
data.setdefault("delete_after", 300)
|
||||||
await message.channel.trigger_typing()
|
await message.channel.trigger_typing()
|
||||||
await message.reply(**data)
|
await message.reply(**data)
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in a new issue