Merge pull request #206 from DarkKirb/fix-bridge-perms

fix permissions for bridging
This commit is contained in:
Charlotte 🦝 Delenk 2023-03-22 07:14:00 +01:00 committed by GitHub
commit 327de7a910
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View file

@ -35,7 +35,7 @@
allow_key_sharing = true; allow_key_sharing = true;
}; };
permissions = { permissions = {
"*" = "relaybot"; "*" = "relay";
"@lotte:chir.rs" = "admin"; "@lotte:chir.rs" = "admin";
}; };
channel_name_template = "{{if or (eq .Type 3) (eq .Type 4)}}{{.Name}} ({{.GuildName}} {{.ParentName}}){{else}}#{{.Name}} ({{.GuildName}} {{.ParentName}}){{end}}"; channel_name_template = "{{if or (eq .Type 3) (eq .Type 4)}}{{.Name}} ({{.GuildName}} {{.ParentName}}){{else}}#{{.Name}} ({{.GuildName}} {{.ParentName}}){{end}}";

View file

@ -48,9 +48,10 @@
delivery_error_reports = true; delivery_error_reports = true;
periodic_sync = 86400; periodic_sync = 86400;
permissions = { permissions = {
"*" = "relaybot"; "*" = "relay";
"@lotte:chir.rs" = "admin"; "@lotte:chir.rs" = "admin";
}; };
relay.enabled = true;
}; };
}; };
}; };

View file

@ -53,9 +53,10 @@
extev_polls = 2; extev_polls = 2;
send_whatsapp_edits = true; send_whatsapp_edits = true;
permissions = { permissions = {
"*" = "relaybot"; "*" = "relay";
"@lotte:chir.rs" = "admin"; "@lotte:chir.rs" = "admin";
}; };
relay.enabled = true;
}; };
}; };
}; };