remove the files.luker.gq listener

This commit is contained in:
Luke Robles 2022-05-10 13:26:14 -07:00
parent 9c91e78296
commit d7e1fefe92
2 changed files with 1 additions and 18 deletions

17
app/bot.py Executable file → Normal file
View 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":

View File

@ -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