refactor moderation; change prefix to r
This commit is contained in:
parent
174d93544c
commit
20e2dbbe46
3 changed files with 123 additions and 52 deletions
|
@ -62,7 +62,7 @@ async fn main() -> Result<()> {
|
|||
Box::pin(handlers::handle_event(ctx, event, framework, data))
|
||||
},
|
||||
prefix_options: PrefixFrameworkOptions {
|
||||
prefix: Some("!".into()),
|
||||
prefix: Some("r".into()),
|
||||
edit_tracker: Some(EditTracker::for_timespan(Duration::from_secs(3600))),
|
||||
..Default::default()
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue