diff --git a/cogs/commands/__init__.py b/cogs/commands/__init__.py index 6985d26..dbab5e5 100644 --- a/cogs/commands/__init__.py +++ b/cogs/commands/__init__.py @@ -7,12 +7,12 @@ from nextcord.ext import commands # Command classes from .message_management import MessageManagement from .settings_management import SettingsManagement -from .table_management import TableManagement +from .data_management import DataManagement # This function will be called when this extension is loaded. # It is necessary to add these functions to the bot. def setup(bot: commands.Bot): """Adds all command classes to bot.""" - bot.add_cog(TableManagement()) + bot.add_cog(DataManagement()) bot.add_cog(MessageManagement(bot)) bot.add_cog(SettingsManagement()) diff --git a/cogs/commands/table_management.py b/cogs/commands/data_management.py similarity index 92% rename from cogs/commands/table_management.py rename to cogs/commands/data_management.py index cf7e04e..dd42021 100644 --- a/cogs/commands/table_management.py +++ b/cogs/commands/data_management.py @@ -8,14 +8,14 @@ import nextcord from highscores import highscores_data # pylint: disable=import-error -class TableManagement(commands.Cog, name="Table Management"): +class DataManagement(commands.Cog, name="Table Management"): """ Class holds commands for managing the data storage of the highscores. """ def __init__(self): """ - Default constructor for TableManagement class. Does nothing. + Default constructor for DataManagement class. Does nothing. """ @nextcord.slash_command(