feat: use values from teh env file to dictate the servers

This commit is contained in:
silver 2025-06-16 21:50:26 +01:00
parent 72226cc59b
commit a6eff75e39
Signed by untrusted user: silver
GPG key ID: 36F93D61BAD3FD7D
5 changed files with 33 additions and 29 deletions

View file

@ -114,7 +114,7 @@ pub mod update_icon {
/// Update the server icon, pulling from open governance.
pub async fn update_icon_main(ctx: &Context, db: &Pool<Sqlite>, config_global: &Config, config_toml_local: &ConfigTomlLocal) {
let server = GuildId::new(689189992417067052);
let server = config_global.compsoc_server;
// clone repo into local folder
clone_repo(config_global, config_toml_local);