From c918b9492b3fab852b97deff110ebb2a4d9990dc Mon Sep 17 00:00:00 2001 From: alwayscompiling Date: Thu, 11 Aug 2022 23:02:44 -0400 Subject: [PATCH] Renamed to data_management. Better description. --- cogs/commands/__init__.py | 4 ++-- cogs/commands/{table_management.py => data_management.py} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename cogs/commands/{table_management.py => data_management.py} (92%) 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(