(v4.2) Open Discord Framework Update (Part 2)
Replaced all "Default" classes & types with ID mappings & improved types. Updated Interactive Setup CLI & certain events, renamed ODStat's to ODStatistics. Moved many classes, types & interfaces to the framework
This commit is contained in:
@@ -23,7 +23,7 @@ export const loadAllPanels = async () => {
|
||||
})
|
||||
}
|
||||
|
||||
export const loadPanel = (panel:api.ODJsonConfig_DefaultPanelType) => {
|
||||
export const loadPanel = (panel:api.ODPanelsJsonConfig_Panel) => {
|
||||
return new api.ODPanel(panel.id,[
|
||||
new api.ODPanelData("opendiscord:name",panel.name),
|
||||
new api.ODPanelData("opendiscord:options",panel.options),
|
||||
|
||||
Reference in New Issue
Block a user