adding coom function
This commit is contained in:
parent
7a2d4c27f8
commit
c2ea0d4959
0
app/bot.py
Normal file → Executable file
0
app/bot.py
Normal file → Executable file
@ -60,6 +60,14 @@ class Cheeky(commands.Cog):
|
|||||||
if emoji:
|
if emoji:
|
||||||
await message.add_reaction(emoji)
|
await message.add_reaction(emoji)
|
||||||
|
|
||||||
|
@commands.command(name="coom")
|
||||||
|
async def coom(self, ctx: commands.Context):
|
||||||
|
if ctx.message.author.id != 144986109804412928:
|
||||||
|
return
|
||||||
|
message = list(await ctx.message.channel.history(limit=2).flatten())[-1]
|
||||||
|
for emoji in list(await ctx.message.guild.fetch_emojis()):
|
||||||
|
await ctx.message.add_reaction(emoji)
|
||||||
|
|
||||||
@commands.command(name="clap")
|
@commands.command(name="clap")
|
||||||
async def clap(self, ctx: commands.Context):
|
async def clap(self, ctx: commands.Context):
|
||||||
content = ctx.message.content.split()[1:]
|
content = ctx.message.content.split()[1:]
|
||||||
|
@ -6,7 +6,7 @@ replicaCount: 1
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
# Overrides the image tag whose default is the chart appVersion.
|
# Overrides the image tag whose default is the chart appVersion.
|
||||||
tag: "146"
|
tag: "148"
|
||||||
repository: ldooks/dragon-bot
|
repository: ldooks/dragon-bot
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user