mirror of
https://github.com/wlinator/luminara.git
synced 2024-10-02 22:23:13 +00:00
Rename all cog classes
This commit is contained in:
parent
d24309602c
commit
8a4707bdcc
7 changed files with 12 additions and 12 deletions
|
@ -7,7 +7,7 @@ from discord.ext import commands
|
||||||
from sb_tools import interaction, embeds, universal
|
from sb_tools import interaction, embeds, universal
|
||||||
|
|
||||||
|
|
||||||
class Basic(commands.Cog):
|
class BasicCog(commands.Cog):
|
||||||
def __init__(self, sbbot):
|
def __init__(self, sbbot):
|
||||||
self.bot = sbbot
|
self.bot = sbbot
|
||||||
|
|
||||||
|
@ -385,4 +385,4 @@ class Basic(commands.Cog):
|
||||||
|
|
||||||
|
|
||||||
def setup(sbbot):
|
def setup(sbbot):
|
||||||
sbbot.add_cog(Basic(sbbot))
|
sbbot.add_cog(BasicCog(sbbot))
|
||||||
|
|
|
@ -19,7 +19,7 @@ with open("config/economy.json") as file:
|
||||||
json_data = json.load(file)
|
json_data = json.load(file)
|
||||||
|
|
||||||
|
|
||||||
class Economy(commands.Cog):
|
class EconomyCog(commands.Cog):
|
||||||
def __init__(self, sbbot):
|
def __init__(self, sbbot):
|
||||||
self.bot = sbbot
|
self.bot = sbbot
|
||||||
|
|
||||||
|
@ -168,4 +168,4 @@ class Economy(commands.Cog):
|
||||||
|
|
||||||
|
|
||||||
def setup(sbbot):
|
def setup(sbbot):
|
||||||
sbbot.add_cog(Economy(sbbot))
|
sbbot.add_cog(EconomyCog(sbbot))
|
||||||
|
|
|
@ -19,7 +19,7 @@ special_balance_name = os.getenv("SPECIAL_BALANCE_NAME")
|
||||||
cash_balance_name = os.getenv("CASH_BALANCE_NAME")
|
cash_balance_name = os.getenv("CASH_BALANCE_NAME")
|
||||||
|
|
||||||
|
|
||||||
class Gambling(commands.Cog):
|
class GamblingCog(commands.Cog):
|
||||||
def __init__(self, sbbot):
|
def __init__(self, sbbot):
|
||||||
self.bot = sbbot
|
self.bot = sbbot
|
||||||
|
|
||||||
|
@ -286,4 +286,4 @@ class Gambling(commands.Cog):
|
||||||
|
|
||||||
|
|
||||||
def setup(sbbot):
|
def setup(sbbot):
|
||||||
sbbot.add_cog(Gambling(sbbot))
|
sbbot.add_cog(GamblingCog(sbbot))
|
||||||
|
|
|
@ -8,7 +8,7 @@ from data.Xp import Xp
|
||||||
from sb_tools import embeds, universal, level_messages, reactions, xp_functions
|
from sb_tools import embeds, universal, level_messages, reactions, xp_functions
|
||||||
|
|
||||||
|
|
||||||
class Leveling(commands.Cog):
|
class LevelingCog(commands.Cog):
|
||||||
def __init__(self, sbbot):
|
def __init__(self, sbbot):
|
||||||
self.bot = sbbot
|
self.bot = sbbot
|
||||||
|
|
||||||
|
@ -115,4 +115,4 @@ class Leveling(commands.Cog):
|
||||||
|
|
||||||
|
|
||||||
def setup(sbbot):
|
def setup(sbbot):
|
||||||
sbbot.add_cog(Leveling(sbbot))
|
sbbot.add_cog(LevelingCog(sbbot))
|
||||||
|
|
|
@ -19,7 +19,7 @@ with open("config/economy.json") as file:
|
||||||
json_data = json.load(file)
|
json_data = json.load(file)
|
||||||
|
|
||||||
|
|
||||||
class OwnerOnly(commands.Cog):
|
class OwnerOnlyCog(commands.Cog):
|
||||||
def __init__(self, sbbot):
|
def __init__(self, sbbot):
|
||||||
self.bot = sbbot
|
self.bot = sbbot
|
||||||
|
|
||||||
|
@ -57,4 +57,4 @@ class OwnerOnly(commands.Cog):
|
||||||
|
|
||||||
|
|
||||||
def setup(sbbot):
|
def setup(sbbot):
|
||||||
sbbot.add_cog(OwnerOnly(sbbot))
|
sbbot.add_cog(OwnerOnlyCog(sbbot))
|
||||||
|
|
|
@ -19,7 +19,7 @@ with open("config/economy.json") as file:
|
||||||
json_data = json.load(file)
|
json_data = json.load(file)
|
||||||
|
|
||||||
|
|
||||||
class Stats(commands.Cog):
|
class StatsCog(commands.Cog):
|
||||||
def __init__(self, sbbot):
|
def __init__(self, sbbot):
|
||||||
self.bot = sbbot
|
self.bot = sbbot
|
||||||
|
|
||||||
|
@ -80,4 +80,4 @@ class Stats(commands.Cog):
|
||||||
|
|
||||||
|
|
||||||
def setup(sbbot):
|
def setup(sbbot):
|
||||||
sbbot.add_cog(Stats(sbbot))
|
sbbot.add_cog(StatsCog(sbbot))
|
||||||
|
|
Loading…
Reference in a new issue