(v4.2) Open Discord Framework Update (Part 1)
This commit is contained in:
@@ -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" {
|
||||
|
||||
Reference in New Issue
Block a user