diff --git a/src/main.rs b/src/main.rs index 659539c..923fcf5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -96,7 +96,7 @@ command!(list_srv(_ctx, message) { let mut list = String::new(); for (index, guild_lock) in cache.guilds.values().enumerate() { let guild = guild_lock.read(); - list.push_str(format!("{}: {}\n", index, guild.name)); + list.push_str(&format!("{}: {}\n", index, guild.name)); } let _ = message.channel_id.say(format!("{}", list)); } diff --git a/target/release/rustcord b/target/release/rustcord index ebea4b5..5e4684c 100755 Binary files a/target/release/rustcord and b/target/release/rustcord differ