remove the files.luker.gq listener
This commit is contained in:
parent
9c91e78296
commit
d7e1fefe92
17
app/bot.py
Executable file → Normal file
17
app/bot.py
Executable file → Normal file
@ -48,23 +48,6 @@ async def fix_cdn_url(ctx):
|
||||
return
|
||||
|
||||
|
||||
@bot.listen("on_message")
|
||||
async def luker_files_fix(ctx):
|
||||
# Ignore images
|
||||
if "https://files.luker.gq/" in ctx.content and not "selif" in ctx.content:
|
||||
identifier = ctx.content.split("gq/")[-1]
|
||||
fixed_url = "https://files.luker.gq/selif/%s" % identifier
|
||||
await ctx.delete()
|
||||
await ctx.channel.send(
|
||||
"%s said:\n%s"
|
||||
% (
|
||||
ctx.author.mention,
|
||||
fixed_url,
|
||||
)
|
||||
)
|
||||
return
|
||||
|
||||
|
||||
@bot.listen("on_message")
|
||||
async def based(ctx):
|
||||
if ctx.content.lower() == "based":
|
||||
|
@ -6,7 +6,7 @@ replicaCount: 1
|
||||
|
||||
image:
|
||||
# Overrides the image tag whose default is the chart appVersion.
|
||||
tag: "188"
|
||||
tag: "189"
|
||||
repository: ldooks/dragon-bot
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user