Update project configuration files, and API routes accordingly. Add SQLite runtime file ignores to .gitignore for better file management.
Some checks failed
CI / Bot (Python) (push) Failing after 49s
CI / Dashboard (Next.js) (push) Failing after 11s

This commit is contained in:
TheOnlyMace
2026-07-21 17:11:38 +02:00
parent 5f34db4f3b
commit b4110c3d66
297 changed files with 2657 additions and 2768 deletions

View File

@@ -1,21 +1,21 @@
# ╔══════════════════════════════════════════════════════════════════╗
# ║ ║
# ║ ░█▀▀░█▀█░█▀▄░█▀▀░█░█ ░█▀▄░█▀▀░█░█░█▀▀
# ║ ░█░░░█░█░█░█░█▀▀░▄▀▄ ░█░█░█▀▀░▀▄▀░▀▀█
# ║ ░▀▀▀░▀▀▀░▀▀░░▀▀▀░▀░▀ ░▀▀░░▀▀▀░░▀░░▀▀▀
# ║ +-+-+-+-+-+-+-+-+
# ║ |H|e|x|a|H|o|s|t|
# ║ +-+-+-+-+-+-+-+-+
# ║ ║
# ║ © 2026 CodeX Devs — All Rights Reserved ║
# ║ © 2026 HexaHost — All Rights Reserved
# ║ ║
# ║ discord ── https://discord.gg/codexdev
# ║ youtube ── https://youtube.com/@CodeXDevs
# ║ github ── https://github.com/RayExo ║
# ║ discord ── https://discord.gg/hexahost
# ║ github ── https://github.com/theoneandonlymace
# ║ ║
# ╚══════════════════════════════════════════════════════════════════╝
from utils.db_paths import db_path
from utils import getConfig
from utils.config import BotName
import discord
from utils.emoji import ARROWRED, CODEBASE, HEART3, INDEX, ZYROXLINKS
from utils.emoji import ARROWRED, CODEBASE, HEART3, INDEX, HEXAHOST_LINKS
from discord.ui import LayoutView, TextDisplay, Separator, Container, ActionRow, Select
from discord.ext import commands
from utils.Tools import get_ignore_data
@@ -44,7 +44,7 @@ class MentionSelectView(LayoutView):
),
discord.SelectOption(
label="Links",
emoji=ZYROXLINKS,
emoji=HEXAHOST_LINKS,
description="Useful bot links",
),
],
@@ -88,7 +88,7 @@ class MentionSelectView(LayoutView):
elif selected == "Links":
content = (
f"**[Invite {BotName}](https://discord.com/oauth2/authorize?client_id=1396114795102470196)**\n"
"**[Join Support Server](https://discord.gg/codexdev)**"
"**[Join Support Server](https://discord.gg/hexahost)**"
)
new_container = Container(
@@ -111,7 +111,7 @@ class Mention(commands.Cog):
self.bot_name = BotName
async def is_blacklisted(self, message):
async with aiosqlite.connect("db/block.db") as db:
async with aiosqlite.connect(db_path("block.db")) as db:
cursor = await db.execute(
"SELECT 1 FROM guild_blacklist WHERE guild_id = ?", (message.guild.id,)
)