Editing information that would be posted from help command.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user