Renamed to data_management. Better description.
This commit is contained in:
@@ -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())
|
||||
|
||||
@@ -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(
|
||||
Reference in New Issue
Block a user