Fixing clap to work on single words
This commit is contained in:
parent
26d29eec64
commit
d9ada20825
@ -439,7 +439,10 @@ async def verify(ctx):
|
|||||||
|
|
||||||
@bot.command(name="clap")
|
@bot.command(name="clap")
|
||||||
async def clap(ctx):
|
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=".")
|
@bot.command(name=".")
|
||||||
|
@ -8,7 +8,7 @@ image:
|
|||||||
repository: ldooks/dragon-bot
|
repository: ldooks/dragon-bot
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
# Overrides the image tag whose default is the chart appVersion.
|
# Overrides the image tag whose default is the chart appVersion.
|
||||||
tag: "118"
|
tag: "119"
|
||||||
|
|
||||||
imagePullSecrets: []
|
imagePullSecrets: []
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user