diff --git a/app/bot.py b/app/bot.py index 48779cec..dc31bffb 100755 --- a/app/bot.py +++ b/app/bot.py @@ -11,7 +11,7 @@ bot.remove_command("help") cogfiles = [ f"cogs.{filename[:-3]}" - for filename in os.listdir("./cogs/") + for filename in os.listdir("/app/cogs/") if filename.endswith(".py") ] @@ -32,7 +32,7 @@ async def on_ready(): type=discord.ActivityType.listening, name="type !help" ), ) - if not os.getenv("DRAGON_ENV") == "test": + if os.getenv("DRAGON_ENV") == "prod": await bot.get_channel(152921472304676865).send("I have reconnected") diff --git a/helm/values.yaml b/helm/values.yaml index c912e99a..52939f9e 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -8,7 +8,7 @@ image: repository: ldooks/dragon-bot pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: "158" + tag: "161" imagePullSecrets: [] nameOverride: ""