Fixed dropdown not supporting empty emojis

Fixed a bug that caused the bot to crash when spawning a dropdown panel which includes an option without emoji.
This commit is contained in:
DJj123dj
2024-12-07 21:46:49 +01:00
parent 0c2b688862
commit 106cb0f718
2 changed files with 4 additions and 4 deletions
-1
View File
@@ -7,7 +7,6 @@ import * as discord from "discord.js"
/////////////////////////////////////////////
if (utilities.project != "openticket") throw new api.ODPluginError("This plugin only works in Open Ticket!")
if (!utilities.isBeta) throw new api.ODPluginError("This plugin is made for the beta version of Open Ticket!")
//Add Typescript autocomplete support for plugin data. (!!!OPTIONAL!!!)
declare module "../../src/core/api/api.js" {