mirror of
https://github.com/Noratrieb/widetom.git
synced 2026-01-14 17:05:03 +01:00
serenity 0.11->0.12
This commit is contained in:
parent
5cebd44efd
commit
79e1d92139
5 changed files with 224 additions and 177 deletions
|
|
@ -27,7 +27,7 @@ lazy_static! {
|
|||
|
||||
for v in emotes.as_array().expect(CONFIG_ERR) {
|
||||
let name = v[0].as_str().expect(CONFIG_ERR).to_string();
|
||||
let id = EmojiId(v[1].as_integer().expect(CONFIG_ERR).clone() as u64);
|
||||
let id = EmojiId::new(v[1].as_integer().expect(CONFIG_ERR).clone() as u64);
|
||||
m.insert(name, id);
|
||||
}
|
||||
m
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue