Makke the emoji command handle webp links

This commit is contained in:
Luke Robles 2022-05-08 08:00:51 -07:00
parent 2503d5885c
commit 45acad5bb2
2 changed files with 4 additions and 1 deletions

View File

@ -41,6 +41,9 @@ class ServerUtils(commands.Cog):
await ctx.message.delete() await ctx.message.delete()
import core_utils import core_utils
if "webp" in url:
url = url.replace("webp", "png")
emoji_staging = "/tmp/emoji" emoji_staging = "/tmp/emoji"
try: try:
await ctx.send( await ctx.send(

View File

@ -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: "176" tag: "177"
repository: ldooks/dragon-bot repository: ldooks/dragon-bot
pullPolicy: IfNotPresent pullPolicy: IfNotPresent