This commit is contained in:
Agatha Rose 2018-07-31 19:07:24 +03:00
parent 7ddad965e8
commit 1cd5d7a115
2 changed files with 1 additions and 1 deletions

View File

@ -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));
}

Binary file not shown.