BetterDiscordApp-v1/js/bdapi.js

44 lines
750 B
JavaScript

/* BetterDiscordApp API for Plugins
* Version: 1.0
* Author: Jiiks | http://jiiks.net
* Date: 11/12/2015
* Last Update: 11/12/2015
* https://github.com/Jiiks/BetterDiscordApp
*
* Plugin Template: https://gist.github.com/Jiiks/71edd5af0beafcd08956
*/
//Joins a server
//code = server invite code
BdApi.joinServer = function(code) {
};
//Inject CSS to document head
//id = id of element
//css = custom css
BdApi.injectCSS = function(id, css) {
};
//Clear css/remove any element
//id = id of element
BdApi.clearCSS = function(id) {
};
//Get another plugin
//name = name of plugin
BdApi.getPlugin = function(name) {
};
//Get ipc for reason
BdApi.getIpc = function() {
};
//Get BetterDiscord Core
BdApi.getCore = function() {
};