fix path to cogs dir
This commit is contained in:
parent
9803c112bf
commit
140982cb5c
@ -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")
|
||||
|
||||
|
||||
|
@ -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: ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user