Renamed to data_management. Better description.

This commit is contained in:
alwayscompiling
2022-08-11 23:02:44 -04:00
parent caef6a3652
commit c918b9492b
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -7,12 +7,12 @@ from nextcord.ext import commands
# Command classes # Command classes
from .message_management import MessageManagement from .message_management import MessageManagement
from .settings_management import SettingsManagement 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. # This function will be called when this extension is loaded.
# It is necessary to add these functions to the bot. # It is necessary to add these functions to the bot.
def setup(bot: commands.Bot): def setup(bot: commands.Bot):
"""Adds all command classes to bot.""" """Adds all command classes to bot."""
bot.add_cog(TableManagement()) bot.add_cog(DataManagement())
bot.add_cog(MessageManagement(bot)) bot.add_cog(MessageManagement(bot))
bot.add_cog(SettingsManagement()) bot.add_cog(SettingsManagement())
@@ -8,14 +8,14 @@ import nextcord
from highscores import highscores_data # pylint: disable=import-error 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. Class holds commands for managing the data storage of the highscores.
""" """
def __init__(self): def __init__(self):
""" """
Default constructor for TableManagement class. Does nothing. Default constructor for DataManagement class. Does nothing.
""" """
@nextcord.slash_command( @nextcord.slash_command(