(v4.2) Open Discord Framework Update (Part 1)

This commit is contained in:
DJj123dj
2026-02-16 22:12:25 +01:00
parent ddae7b5e46
commit cb8139b8a0
75 changed files with 1494 additions and 14252 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import * as discord from "discord.js"
//// Enable it in the plugin.json file! ////
/////////////////////////////////////////////
if (utilities.project != "openticket") throw new api.ODPluginError("This plugin only works in Open Ticket!")
if (opendiscord.project != "openticket") throw new api.ODPluginError("This plugin only works in Open Ticket!")
//Add Typescript autocomplete support for plugin data. (!!!OPTIONAL!!!)
declare module "#opendiscord-types" {