A lot of changes and reducing the size of index.js

This should have general improvements, some things are half implemented, and still need some work, let me know if y'all see any bugs
This commit is contained in:
MathMan05
2024-06-13 17:03:10 -05:00
parent 21b520f10c
commit 618cbf6167
8 changed files with 221 additions and 137 deletions

View File

@@ -1,5 +1,5 @@
class guild{
static contextmenu=new contextmenu("channel menu");
static contextmenu=new contextmenu("guild menu");
static setupcontextmenu(){
guild.contextmenu.addbutton("Copy Guild id",function(){
console.log(this)
@@ -31,7 +31,9 @@ class guild{
}
console.log(JSON);
this.owner=owner;
this.owner??=thisuser;
if(!this.owner){
console.error("Owner was not included, please fix")
}
this.channels=[];
this.channelids={};
this.id=JSON.id;