forked from sorceress/rustcord
Fix last commit
This commit is contained in:
parent
4a9c64426c
commit
7ddad965e8
|
@ -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("{}: {}\n", index, guild.name);
|
||||
list.push_str(format!("{}: {}\n", index, guild.name));
|
||||
}
|
||||
let _ = message.channel_id.say(format!("{}", list));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue