From 59810ce66c451dde775a0769cc1808e3bd07daa5 Mon Sep 17 00:00:00 2001 From: Luke Robles <98352913+lrobles-iterable@users.noreply.github.com> Date: Sat, 12 Feb 2022 16:07:04 -0800 Subject: [PATCH] adding based reply to bot --- README.md | 2 +- app/bot.py | 6 ++++++ helm/values.yaml | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e835c4ad..ad31f53e 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![pipeline status](http://git.luker.gq/ldooks/dragon-bot/badges/master/pipeline.svg)](http://git.luker.gq/ldooks/dragon-bot/-/commits/master) +[![pipeline status](https://git.luker.gq/ldooks/dragon-bot/badges/master/pipeline.svg)](http://git.luker.gq/ldooks/dragon-bot/-/commits/master) # README # A discord bot written in python. diff --git a/app/bot.py b/app/bot.py index 1836e398..7f0c373c 100755 --- a/app/bot.py +++ b/app/bot.py @@ -69,6 +69,12 @@ async def fix_cdn_url(ctx): # return +@bot.listen("on_message") +async def based(ctx): + if ctx.content.lower() == "based": + await ctx.reply("https://i.imgur.com/MejGa23.jpeg") + + @bot.listen("on_message") async def convert_heic_to_jpg(ctx): from wand.image import Image diff --git a/helm/values.yaml b/helm/values.yaml index 33271038..e1a11371 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: "117" + tag: "118" imagePullSecrets: [] nameOverride: ""