Makke the emoji command handle webp links
This commit is contained in:
parent
2503d5885c
commit
45acad5bb2
@ -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(
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user