fix path to cogs dir

This commit is contained in:
Luke Robles 2022-04-29 11:40:10 -07:00
parent abd8f6aef0
commit 539d06f617
2 changed files with 3 additions and 3 deletions

View File

@ -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")

View File

@ -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: ""