aboutsummaryrefslogtreecommitdiff
path: root/code/cogs/help.py
diff options
context:
space:
mode:
authorParker <contact@pkrm.dev>2024-08-03 02:55:32 +0000
committerGitHub <noreply@github.com>2024-08-03 02:55:32 +0000
commit608fad20d4f8cf977c39a47a9e30865bda57adfe (patch)
tree47b1ad56786f89c36d1c4eb0c67713c6b6a87d62 /code/cogs/help.py
parent1bffa26776f6c80e2f2513d236f78ce9b7eea39f (diff)
parent3f23ef4edf5a33c3c184c8b92fc5143789cecbd1 (diff)
Merge pull request #2 from PacketParker/dev
Update main
Diffstat (limited to 'code/cogs/help.py')
-rw-r--r--code/cogs/help.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/code/cogs/help.py b/code/cogs/help.py
index 3746482..97af668 100644
--- a/code/cogs/help.py
+++ b/code/cogs/help.py
@@ -70,6 +70,10 @@ commands_and_descriptions = {
"description": "Resume the song that is currently paused",
"usage": "/resume",
},
+ "lyrics": {
+ "description": "Get the lyrics of the song that is currently playing",
+ "usage": "/lyrics",
+ },
"news": {
"description": "Get recent news and updates about the bot",
"usage": "/news",
@@ -88,7 +92,8 @@ commands_and_descriptions = {
class HelpView(discord.ui.View):
def __init__(self, timeout=180.0):
super().__init__(timeout=timeout)
- self.add_item(discord.ui.Button(label="Invite Me", url=BOT_INVITE_LINK, row=1))
+ if BOT_INVITE_LINK:
+ self.add_item(discord.ui.Button(label="Invite Me", url=BOT_INVITE_LINK, row=1))
@discord.ui.button(
label="View All Commands", style=discord.ButtonStyle.green, row=1