-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
59b7ff3
commit 8306198
Showing
3 changed files
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
use serde::Deserialize; | ||
use twilight_model::id::{marker::UserMarker, Id}; | ||
|
||
use crate::pass::Pass; | ||
|
||
#[derive(Deserialize)] | ||
pub struct Config { | ||
pub token: String, | ||
pub reply_cache_size: usize, | ||
#[serde(default)] | ||
pub ignored_users: Vec<Id<UserMarker>>, | ||
#[serde(rename = "pass")] | ||
pub passes: Vec<Pass>, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters