serenity 0.11->0.12

This commit is contained in:
nora 2024-07-06 15:33:19 +02:00
parent 5cebd44efd
commit 79e1d92139
5 changed files with 224 additions and 177 deletions

View file

@ -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