Fixing clap to work on single words
This commit is contained in:
parent
6d69d950cb
commit
be4695a8a2
@ -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=".")
|
||||
|
@ -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: ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user