mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-20 02:26:32 +01:00
I hate this
This commit is contained in:
parent
b20786e2a5
commit
9bcd159086
2 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="dataSourceStorageLocal" created-in="PY-222.4459.20">
|
<component name="dataSourceStorageLocal" created-in="PY-223.7571.203">
|
||||||
<data-source name="main" uuid="28efee07-d306-4126-bf69-01008b4887e2">
|
<data-source name="main" uuid="28efee07-d306-4126-bf69-01008b4887e2">
|
||||||
<database-info product="SQLite" version="3.39.2" jdbc-version="2.1" driver-name="SQLite JDBC" driver-version="3.39.2.0" dbms="SQLITE" exact-version="3.39.2" exact-driver-version="3.39">
|
<database-info product="SQLite" version="3.39.2" jdbc-version="2.1" driver-name="SQLite JDBC" driver-version="3.39.2.0" dbms="SQLITE" exact-version="3.39.2" exact-driver-version="3.39">
|
||||||
<identifier-quote-string>"</identifier-quote-string>
|
<identifier-quote-string>"</identifier-quote-string>
|
||||||
|
|
|
@ -3,7 +3,7 @@ from datetime import datetime, time
|
||||||
|
|
||||||
import discord
|
import discord
|
||||||
from discord.ext import commands, tasks
|
from discord.ext import commands, tasks
|
||||||
from utils import Student, get_or_none
|
from utils import Student, get_or_none, console
|
||||||
from config import guilds, lupupa_warning
|
from config import guilds, lupupa_warning
|
||||||
|
|
||||||
|
|
||||||
|
@ -104,8 +104,8 @@ class Events(commands.Cog):
|
||||||
if "mpreg" in message.content.lower() or "\U0001fac3" in message.content.lower():
|
if "mpreg" in message.content.lower() or "\U0001fac3" in message.content.lower():
|
||||||
try:
|
try:
|
||||||
await message.add_reaction("\U0001fac3")
|
await message.add_reaction("\U0001fac3")
|
||||||
except discord.HTTPException:
|
except discord.HTTPException as e:
|
||||||
pass
|
console.log("Failed to add mpreg reaction:", e)
|
||||||
if not message.guild:
|
if not message.guild:
|
||||||
return
|
return
|
||||||
if message.channel.name == "pinboard":
|
if message.channel.name == "pinboard":
|
||||||
|
|
Loading…
Reference in a new issue