From 9e1729aa290501e5a3da546455fe68e8c13ce212 Mon Sep 17 00:00:00 2001 From: Parker Date: Fri, 2 Aug 2024 21:37:00 -0500 Subject: Change config validation - make more stuff optional --- code/cogs/help.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'code/cogs/help.py') diff --git a/code/cogs/help.py b/code/cogs/help.py index 3746482..a15d6d2 100644 --- a/code/cogs/help.py +++ b/code/cogs/help.py @@ -88,7 +88,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 -- cgit v1.2.3-70-g09d2 From 6fdfba09b2cad092e851ee5db0a594d96dbdd47e Mon Sep 17 00:00:00 2001 From: Parker Date: Fri, 2 Aug 2024 21:48:10 -0500 Subject: Update references for new `/lyrics` command --- code/cogs/help.py | 4 ++++ code/cogs/news.py | 5 +++++ 2 files changed, 9 insertions(+) (limited to 'code/cogs/help.py') diff --git a/code/cogs/help.py b/code/cogs/help.py index a15d6d2..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", diff --git a/code/cogs/news.py b/code/cogs/news.py index c115559..9013567 100644 --- a/code/cogs/news.py +++ b/code/cogs/news.py @@ -18,6 +18,11 @@ class News(commands.Cog): color=BOT_COLOR, ) + embed.add_field( + name="**Lyrics!**", + value="> You can now get lyrics for the song that is currently playing. Just use the `/lyrics` command! Some songs may not have lyrics available, but the bot will do its best to find them.", + ) + embed.add_field( name="**Apple Music Support!**", value="> After some trial and error, you can now play music through Apple Music links. Just paste the link and the bot will do the rest!", -- cgit v1.2.3-70-g09d2