diff --git a/app/bot.py b/app/bot.py index 560bef65..ba76c96e 100755 --- a/app/bot.py +++ b/app/bot.py @@ -48,6 +48,9 @@ def generate_embed( #### a bunch of silly functions that will listen for messages with specific content @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: await ctx.delete() await ctx.channel.send( diff --git a/helm/values.yaml b/helm/values.yaml index 99b33e86..0773d450 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: "143" + tag: "144" imagePullSecrets: [] nameOverride: ""