remove the files.luker.gq listener
This commit is contained in:
parent
364c8debb4
commit
f110d2024e
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
|
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")
|
@bot.listen("on_message")
|
||||||
async def based(ctx):
|
async def based(ctx):
|
||||||
if ctx.content.lower() == "based":
|
if ctx.content.lower() == "based":
|
||||||
|
@ -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: "188"
|
tag: "189"
|
||||||
repository: ldooks/dragon-bot
|
repository: ldooks/dragon-bot
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user