adding based reply to bot

This commit is contained in:
Luke Robles 2022-02-12 16:07:04 -08:00
parent 233cf353e8
commit 41c42867e1
3 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,4 @@
[![pipeline status](http://git.luker.gq/ldooks/dragon-bot/badges/master/pipeline.svg)](http://git.luker.gq/ldooks/dragon-bot/-/commits/master)
[![pipeline status](https://git.luker.gq/ldooks/dragon-bot/badges/master/pipeline.svg)](http://git.luker.gq/ldooks/dragon-bot/-/commits/master)
# README #
A discord bot written in python.

View File

@ -69,6 +69,12 @@ async def fix_cdn_url(ctx):
# return
@bot.listen("on_message")
async def based(ctx):
if ctx.content.lower() == "based":
await ctx.reply("https://i.imgur.com/MejGa23.jpeg")
@bot.listen("on_message")
async def convert_heic_to_jpg(ctx):
from wand.image import Image

View File

@ -8,7 +8,7 @@ image:
repository: ldooks/dragon-bot
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "117"
tag: "118"
imagePullSecrets: []
nameOverride: ""