forked from Skynet/discord-bot
feat: use values from teh env file to dictate the servers
This commit is contained in:
parent
72226cc59b
commit
a6eff75e39
5 changed files with 33 additions and 29 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue