From 95b02c7488af3383b87789205a75e2570d03b3fd Mon Sep 17 00:00:00 2001 From: WhatDidYouExpect <89535984+WhatDidYouExpect@users.noreply.github.com> Date: Wed, 26 Feb 2025 21:26:16 +0100 Subject: [PATCH] Update songchanger.py --- customcommands/songchanger.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/customcommands/songchanger.py b/customcommands/songchanger.py index 249e776..a70935b 100644 --- a/customcommands/songchanger.py +++ b/customcommands/songchanger.py @@ -18,13 +18,14 @@ class songchange(commands.Cog): @commands.command() async def changesong(self, ctx): - if LOCAL_VERSION_FILE < "0.11.8": + if LOCAL_VERSION_FILE > "0.11.8": await ctx.send(f"Goober is too old! you must have version 0.11.8 you have {local_version}") + return await ctx.send("Check the terminal! (this does not persist across restarts)") song = input("\nEnter a song:\n") try: await self.bot.change_presence(activity=discord.Activity(type=discord.ActivityType.listening, name=f"{song}")) - print(f"{GREEN}Changed song to {song}") + print(f"{GREEN}Changed song to {song}{RESET}") except Exception as e: print(f"{RED}An error occurred while changing songs..: {str(e)}{RESET}")