diff --git a/app/bot.py b/app/bot.py index 2e1e8332..81d75fd4 100755 --- a/app/bot.py +++ b/app/bot.py @@ -36,7 +36,8 @@ async def on_ready(): @bot.listen("on_message") async def fix_cdn_url(ctx): # Ignore images - if ctx.content.endswith(("mp4", "mov")) and "media.discordapp.net" in ctx.content: + videos = ["mp4", "mov"] + if any(x in ctx.content for x in videos) and "media.discordapp.net" in ctx.content: await ctx.delete() await ctx.channel.send( "%s said:\n%s" diff --git a/helm/values.yaml b/helm/values.yaml index 66bd7772..5714577b 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -6,7 +6,7 @@ replicaCount: 1 image: # Overrides the image tag whose default is the chart appVersion. - tag: "200" + tag: "201" repository: ldooks/dragon-bot pullPolicy: IfNotPresent