diff --git a/app/bot.py b/app/bot.py index dc31bffb..600468ef 100755 --- a/app/bot.py +++ b/app/bot.py @@ -39,9 +39,7 @@ async def on_ready(): @bot.listen("on_message") async def fix_cdn_url(ctx): # Ignore images - if ctx.content.endswith(("jpg", "png", "jpeg", "gif")): - return - if "media.discordapp.net" in ctx.content: + if ctx.content.endswith(("mp4", "mov")) 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 c6c21a65..0d27048f 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: "163" + tag: "164" repository: ldooks/dragon-bot pullPolicy: IfNotPresent