I hate this

This commit is contained in:
eek7574 2022-12-07 13:45:58 +00:00
parent b20786e2a5
commit 9bcd159086
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<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">
<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>&quot;</identifier-quote-string>

View file

@ -3,7 +3,7 @@ from datetime import datetime, time
import discord
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
@ -104,8 +104,8 @@ class Events(commands.Cog):
if "mpreg" in message.content.lower() or "\U0001fac3" in message.content.lower():
try:
await message.add_reaction("\U0001fac3")
except discord.HTTPException:
pass
except discord.HTTPException as e:
console.log("Failed to add mpreg reaction:", e)
if not message.guild:
return
if message.channel.name == "pinboard":