Update project configuration files, and API routes accordingly. Add SQLite runtime file ignores to .gitignore for better file management.
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
# ╔══════════════════════════════════════════════════════════════════╗
|
||||
# ║ ║
|
||||
# ║ ░█▀▀░█▀█░█▀▄░█▀▀░█░█ ░█▀▄░█▀▀░█░█░█▀▀ ║
|
||||
# ║ ░█░░░█░█░█░█░█▀▀░▄▀▄ ░█░█░█▀▀░▀▄▀░▀▀█ ║
|
||||
# ║ ░▀▀▀░▀▀▀░▀▀░░▀▀▀░▀░▀ ░▀▀░░▀▀▀░░▀░░▀▀▀ ║
|
||||
# ║ +-+-+-+-+-+-+-+-+ ║
|
||||
# ║ |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 __future__ import annotations
|
||||
from utils.db_paths import db_path
|
||||
|
||||
import discord
|
||||
from utils.emoji import CROSS, NITRO_BOOST, TICK, TIMER
|
||||
import asyncio
|
||||
@@ -28,7 +28,7 @@ import datetime
|
||||
import re
|
||||
from typing import *
|
||||
from time import strftime
|
||||
from core import Cog ,zyrox ,Context
|
||||
from core import Cog, HexaHost, Context
|
||||
from discord.ui import LayoutView, TextDisplay, Separator, Container
|
||||
from utils.cv2 import CV2, build_container
|
||||
|
||||
@@ -49,10 +49,10 @@ datefmt ="%H:%M:%S",
|
||||
)
|
||||
|
||||
class Booster (Cog ):
|
||||
def __init__ (self ,bot : Zyrox ):
|
||||
def __init__ (self ,bot : HexaHost ):
|
||||
self .bot =bot
|
||||
self .color =0xFF0000
|
||||
self .db_path ="db/boost.db"
|
||||
self .db_path =db_path("boost.db")
|
||||
self .bot .loop .create_task (self .setup_database ())
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user