Fix
This commit is contained in:
parent
ef7fa43f24
commit
ccabc04d77
|
@ -96,7 +96,7 @@ command!(list_srv(_ctx, message) {
|
||||||
let mut list = String::new();
|
let mut list = String::new();
|
||||||
for (index, guild_lock) in cache.guilds.values().enumerate() {
|
for (index, guild_lock) in cache.guilds.values().enumerate() {
|
||||||
let guild = guild_lock.read();
|
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));
|
let _ = message.channel_id.say(format!("{}", list));
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue