Misc improvements

This commit is contained in:
neauoire
2020-03-26 20:04:24 +09:00
parent ff51bd7b89
commit 3b07edefc4
15 changed files with 92 additions and 774 deletions

View File

@@ -6,7 +6,6 @@ function Acels (client) {
this.order = []
this.all = {}
this.roles = {}
this.pipe = null
this.install = (host = document.body) => {
@@ -40,10 +39,6 @@ function Acels (client) {
this.all[accelerator] = { cat, name, downfn, upfn, accelerator }
}
this.add = (cat, role) => {
this.all[':' + role] = { cat, name: role, role }
}
this.get = (accelerator) => {
return this.all[accelerator]
}