Refactor project branding from HexaHost to Axiom across all configurations, documentation, and code files. Update environment variables, Docker setup, and README to reflect the new brand name. Ensure consistency in naming conventions and improve clarity in setup instructions.
This commit is contained in:
@@ -16,11 +16,11 @@ import json
|
||||
import aiosqlite
|
||||
from discord.ext import commands
|
||||
from utils.config import serverLink
|
||||
from core import HexaHost, Cog, Context
|
||||
from core import Axiom, Cog, Context
|
||||
from utils.Tools import get_ignore_data
|
||||
|
||||
class Errors(Cog):
|
||||
def __init__(self, client: HexaHost):
|
||||
def __init__(self, client: Axiom):
|
||||
self.client = client
|
||||
|
||||
@commands.Cog.listener()
|
||||
|
||||
@@ -14,14 +14,14 @@
|
||||
import discord
|
||||
from utils.emoji import ARROWRED, ZMODULE
|
||||
from discord.utils import *
|
||||
from core import HexaHost, Cog
|
||||
from core import Axiom, Cog
|
||||
from utils.Tools import *
|
||||
from utils.config import BotName, serverLink
|
||||
from discord.ext import commands
|
||||
from discord.ui import Button, View
|
||||
|
||||
class Autorole(Cog):
|
||||
def __init__(self, bot: HexaHost):
|
||||
def __init__(self, bot: Axiom):
|
||||
self.bot = bot
|
||||
|
||||
|
||||
|
||||
@@ -14,13 +14,13 @@ from utils.db_paths import db_path
|
||||
|
||||
import discord
|
||||
from utils.emoji import ZWARNING
|
||||
from core import HexaHost, Cog
|
||||
from core import Axiom, Cog
|
||||
from discord.ext import commands
|
||||
import aiosqlite
|
||||
from datetime import datetime, timedelta
|
||||
|
||||
class AutoBlacklist(Cog):
|
||||
def __init__(self, client: HexaHost):
|
||||
def __init__(self, client: Axiom):
|
||||
self.client = client
|
||||
self.spam_cd_mapping = commands.CooldownMapping.from_cooldown(5, 5, commands.BucketType.member)
|
||||
self.spam_command_mapping = commands.CooldownMapping.from_cooldown(6, 10, commands.BucketType.member)
|
||||
|
||||
@@ -18,14 +18,14 @@ import aiosqlite
|
||||
import asyncio
|
||||
import logging
|
||||
from discord.ext import commands
|
||||
from core import HexaHost, Cog
|
||||
from core import Axiom, Cog
|
||||
from utils.config import *
|
||||
|
||||
DATABASE_PATH = db_path('autorole.db')
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
class Autorole2(Cog):
|
||||
def __init__(self, bot: HexaHost):
|
||||
def __init__(self, bot: Axiom):
|
||||
self.bot = bot
|
||||
self.headers = {"Authorization": f"Bot {self.bot.http.token}"}
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ 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, HEXAHOST_LINKS
|
||||
from utils.emoji import ARROWRED, CODEBASE, HEART3, INDEX, AXIOM_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=HEXAHOST_LINKS,
|
||||
emoji=AXIOM_LINKS,
|
||||
description="Useful bot links",
|
||||
),
|
||||
],
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
# ╚══════════════════════════════════════════════════════════════════╝
|
||||
|
||||
from discord.ext import commands
|
||||
from core import HexaHost, Cog
|
||||
from core import Axiom, Cog
|
||||
import discord
|
||||
from utils.emoji import ARROWRED, KING, ZBOT, ZHUMAN, ZROCKET
|
||||
import logging
|
||||
@@ -27,7 +27,7 @@ logging.basicConfig(
|
||||
|
||||
|
||||
class Guild(Cog):
|
||||
def __init__(self, client: HexaHost):
|
||||
def __init__(self, client: Axiom):
|
||||
self.client = client
|
||||
self.bot = client
|
||||
self.recently_removed_guilds = set()
|
||||
|
||||
Reference in New Issue
Block a user