This commit is contained in:
MathMan05
2024-10-08 13:49:18 -05:00
parent c23347e394
commit 68fcc7a135

View File

@@ -610,9 +610,9 @@ class Guild extends SnowFlake{
"button", "button",
"", "",
"submit", "submit",
function(){ ()=>{
console.log(name, category); console.log(name, category);
func(name, category); func.bind(this)(name, category);
channelselect.hide(); channelselect.hide();
}, },
], ],
@@ -636,11 +636,11 @@ class Guild extends SnowFlake{
"button", "button",
"", "",
"submit", "submit",
()=>{ function(this:Guild){
console.log(name, category); console.log(name, category);
this.createChannel(name, category); this.createChannel(name, category);
channelselect.hide(); channelselect.hide();
}, }.bind(this),
], ],
]); ]);
channelselect.show(); channelselect.show();