Fixing clap to work on single words

This commit is contained in:
Luke Robles 2022-02-16 14:21:34 -08:00
parent 6d69d950cb
commit be4695a8a2
2 changed files with 5 additions and 2 deletions

View File

@ -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=".")

View File

@ -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: ""