From f23cd7164753dac288e9f3b96d5f354bb56e724f Mon Sep 17 00:00:00 2001 From: alwayscompiling Date: Sun, 3 Jul 2022 10:35:08 -0400 Subject: [PATCH] Editing information that would be posted from help command. --- cogs/post_highscores/__init__.py | 6 +++--- cogs/register_highscore_channel/__init__.py | 4 ++-- cogs/score/__init__.py | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/cogs/post_highscores/__init__.py b/cogs/post_highscores/__init__.py index 5f29e4e..f67af39 100644 --- a/cogs/post_highscores/__init__.py +++ b/cogs/post_highscores/__init__.py @@ -10,7 +10,7 @@ from utils import highscore_message # pylint: disable=import-error class PostHighscores(commands.Cog, name="Post Highscores"): - """Actions of bot command""" + """Posts Highscores.""" def __init__(self, bot: commands.Bot): self.bot = bot @@ -18,8 +18,8 @@ class PostHighscores(commands.Cog, name="Post Highscores"): @commands.command(name="post-scores") async def post_highscores(self, ctx: commands.Context): """ - A command which posts the highscore in the designated channel. Sends warning if no channel - has been registered. + A command which posts the highscore in the designated channel. + Sends warning if no channel has been registered. Usage: ``` ?post-scores diff --git a/cogs/register_highscore_channel/__init__.py b/cogs/register_highscore_channel/__init__.py index 2a5b740..eb853f1 100644 --- a/cogs/register_highscore_channel/__init__.py +++ b/cogs/register_highscore_channel/__init__.py @@ -8,14 +8,14 @@ from utils import data_storage # pylint: disable=import-error class RegisterHighscoreChannel(commands.Cog, name="Register HighScore Channel"): - """Actions of bot command""" + """Registers Highscore channel""" def __init__(self, bot: commands.Bot): self.bot = bot @commands.command(name="register") async def register_highscores(self, ctx: commands.Context): - """A command which registers the channel command is sent in as channel to post highscores in + """A command which registers the channel command is sent in as channel to post highscores in. Usage: ``` ?register (in channel to post highscores in) diff --git a/cogs/score/__init__.py b/cogs/score/__init__.py index 842ff48..17442e3 100644 --- a/cogs/score/__init__.py +++ b/cogs/score/__init__.py @@ -9,15 +9,15 @@ from utils import highscore_manage # pylint: disable=import-error class RegisterHighscoreChannel(commands.Cog, name="Score"): - """Actions of bot command""" + """Submits a score.""" def __init__(self, bot: commands.Bot): self.bot = bot @commands.command(name="score") async def score(self, ctx: commands.Context, boss_name: str, category: str, score: str): - """A command which calls a function to submit the score to highscores. Gathers required - information from command and passes on. + """A command which calls a function to submit the score to highscores. + Gathers required information from command and passes on. Usage: ``` ?score "Boss Name" "Category" "score"