BetterDiscordApp-rauenzi/js/bdapi.js

50 lines
900 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
*/
//Returns currrent BrowserWindow https://github.com/atom/electron/blob/master/docs/api/browser-window.md
BdApi.getBrowserWindow = function() {
};
//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() {
};