mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 06:33:05 -04:00
fix lottie type
This commit is contained in:
parent
45868987bb
commit
97a654c1ed
1 changed files with 2 additions and 1 deletions
|
@ -51,9 +51,10 @@ module.exports = {
|
|||
args.emoji = msg.content
|
||||
}
|
||||
|
||||
// Stickers
|
||||
if(msg.stickerItems.length){
|
||||
let s = msg.stickerItems.first()
|
||||
if(s.type == 3) return editOrReply(context, createEmbed("default", context, {
|
||||
if(s.formatType == 3) return editOrReply(context, createEmbed("default", context, {
|
||||
description: `${icon("sticker")} **${s.name}**\n\nhttps://media.discordapp.net/stickers/${s.id}.json`,
|
||||
}))
|
||||
return editOrReply(context, createEmbed("default", context, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue