Skip to content
This repository has been archived by the owner on Aug 3, 2022. It is now read-only.

Plugin APIs

Jiiks edited this page Apr 5, 2016 · 20 revisions

##API functions provided by BetterDiscord, BetterAPI and webSock This should help you if you want to write a plugin yourself :) You should also check out the testPlugin.js.

Currently available BdApi functions:

BdApi.joinServer("code");
BdApi.injectCSS("id", "css");
BdApi.clearCSS("id");
BdApi.getPlugin("name");
BdApi.getIpc();
BdApi.getCore();
BdApi.getUserIdByName("name");
BdApi.getUserNameById("id");
Core.prototype.alert("title", "text")
Clone this wiki locally