From 843bdf87b8ef8371a7fe4225b0765afa4e240181 Mon Sep 17 00:00:00 2001 From: Luke Robles <98352913+lrobles-iterable@users.noreply.github.com> Date: Wed, 16 Feb 2022 14:21:34 -0800 Subject: [PATCH] Fixing clap to work on single words --- app/bot.py | 5 ++++- helm/values.yaml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/bot.py b/app/bot.py index 7f0c373c..cb503491 100755 --- a/app/bot.py +++ b/app/bot.py @@ -439,7 +439,10 @@ async def verify(ctx): @bot.command(name="clap") async def clap(ctx): - await ctx.send("{}".format(" :clap: ".join(ctx.message.content.split()[1:]))) + content = ctx.message.content.split()[1:] + if len(content) == 1: + content = [char for char in content[0]] + await ctx.send("{}".format(" :clap: ".join(content))) @bot.command(name=".") diff --git a/helm/values.yaml b/helm/values.yaml index e1a11371..3eed731d 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: "118" + tag: "119" imagePullSecrets: [] nameOverride: ""