Fix string
This commit is contained in:
parent
6f2ad6990a
commit
d279bf6603
@ -42,7 +42,7 @@ fn main() {
|
|||||||
|
|
||||||
guild_list.into_iter().for_each(|name| {
|
guild_list.into_iter().for_each(|name| {
|
||||||
thread::sleep_ms(2500);
|
thread::sleep_ms(2500);
|
||||||
println!("Getting {:?} -> ", name);
|
println!("Getting {:?}", name);
|
||||||
if let Ok(Some(prefix)) = wynncraft::guild(&name).map(|x| x.map(|x| x.prefix)) {
|
if let Ok(Some(prefix)) = wynncraft::guild(&name).map(|x| x.map(|x| x.prefix)) {
|
||||||
let guild = Guild { prefix, name };
|
let guild = Guild { prefix, name };
|
||||||
if let Ok(_) = diesel::insert_into(guilds::table)
|
if let Ok(_) = diesel::insert_into(guilds::table)
|
||||||
|
Loading…
Reference in New Issue
Block a user