commit 5fc9fd0171dc44ae8d6da2ee9926c432949f07f9 Author: nin0dev Date: Tue Nov 19 08:18:35 2024 -0500 things diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..df3ce50 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +.env +bin +include +lib +lib64 +pyvenv.cfg \ No newline at end of file diff --git a/.prettierrc.json b/.prettierrc.json new file mode 100644 index 0000000..a6b7fda --- /dev/null +++ b/.prettierrc.json @@ -0,0 +1,6 @@ +{ + "singleQuote": false, + "tabWidth": 4, + "useTabs": true, + "semi": true +} diff --git a/backend/bot/main.py b/backend/bot/main.py new file mode 100644 index 0000000..0a8a4ee --- /dev/null +++ b/backend/bot/main.py @@ -0,0 +1,16 @@ +import discord +import discord.types +from dotenv import load_dotenv +import os +load_dotenv() + +class Client(discord.Client): + async def on_ready(self): + print("Logged in as", self.user) + + async def on_message(self, message: discord.Message): + if message.channel.id not in [1156349646965325824, 1299351968443142228] or message.type != discord.MessageType.auto_moderation_action: + return + +client = Client() +client.run(os.environ["TOKEN"]) \ No newline at end of file diff --git a/duke.png b/duke.png new file mode 100644 index 0000000..c669d97 Binary files /dev/null and b/duke.png differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..940447e --- /dev/null +++ b/index.html @@ -0,0 +1,42 @@ + + + + + + How long since a message was blocked in Vencord + + + +
+ +

It has been

+

00:00:01

+

since a message has been blocked in Vencord.

+

(Low Quality Spam)

+
+ +