Add perms check

This commit is contained in:
Nexus 2023-04-02 16:36:33 +01:00
parent 8c08c193d7
commit fe0cb6dd93
Signed by: nex
GPG key ID: 0FA334385D0B689F
4 changed files with 24 additions and 19 deletions

View file

@ -1,9 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<dataSource name="main">
<database-model serializer="dbm" dbms="SQLITE" family-id="SQLITE" format-version="4.48">
<root id="1">
<ServerVersion>3.39.2</ServerVersion>
</root>
<root id="1"/>
<collation id="2" parent="1" name="BINARY"/>
<collation id="3" parent="1" name="NOCASE"/>
<collation id="4" parent="1" name="RTRIM"/>

BIN
assets/discord.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

View file

@ -64,6 +64,11 @@ UVICORN_CONFIG = {
# * 2: Exit before making the websocket connection to discord
CONNECT_MODE = 0
# The channel ID of the channel to send the spam message to.
# "Spam" is usually just automated, non-interactive messages.
# If this is set to None, the bot will not send spam messages.
SPAM_CHANNEL = None
# Toggles dev mode based on the environment variable `DEV`. You can set this to anything here, as long as it
# can evaluate to a boolean.
dev = bool(int(os.getenv("DEV", "0")))

View file

@ -1,17 +1,19 @@
py-cord==2.4.0
aiosmtplib==1.1.7
orm[sqlite]==0.3.1
httpx==0.23.0
jishkucord==2.5.2
rich==12.5.1
nltk==3.7
psutil==5.9.4
selenium==4.7.2
chromedriver==2.24.1
dnspython==2.2.1
aiofiles==22.1.0
httpx==0.23.0
fastapi==0.92.0
uvicorn==0.20.0
pyttsx3==2.90
py-cord>=2.4.0
aiosmtplib>=1.1.7
orm[sqlite]>=0.3.1
httpx>=0.23.0
jishkucord>=2.5.2
rich>=12.5.1
nltk>=3.7
psutil>=5.9.4
selenium>=4.7.2
chromedriver>=2.24.1
dnspython>=2.2.1
aiofiles>=22.1.0
httpx>=0.23.0
fastapi>=0.92.0
uvicorn>=0.20.0
pyttsx3>=2.90
yt-dlp
beautifulsoup4>=4.12.0
lxml>=4.9.2