enable translation support for permisions

This commit is contained in:
MathMan05
2024-10-31 20:56:00 -05:00
parent ff76e91ff8
commit 7f95aff2d1
7 changed files with 194 additions and 292 deletions

View File

@@ -231,7 +231,7 @@ type botjsonfetch={
if(perms&&permstr){
const permisions=new Permissions(permstr)
for(const perm of Permissions.info){
for(const perm of Permissions.info()){
if(permisions.hasPermission(perm.name,false)){
const div=document.createElement("div");
const h2=document.createElement("h2");