Changed struct reaction (#173)

Fixes #172
This commit is contained in:
Flori 2023-07-30 20:35:32 +02:00 committed by GitHub
commit 911dcc5d83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,5 @@
use serde::{Deserialize, Serialize};
use crate::types::{
@ -178,8 +180,11 @@ pub struct EmbedField {
#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)]
pub struct Reaction {
pub count: i32,
pub count: u32,
pub burst_count: u32,
pub me: bool,
pub burst_me: bool,
pub burst_colors: Vec<String>,
pub emoji: Emoji,
}