figured out how to add buttons
This commit is contained in:
+1
-1
@@ -91,7 +91,7 @@ async fn make_cmd_vec(data: &Data) -> Vec<Cmd> {
|
||||
]);
|
||||
|
||||
// REDDIT
|
||||
if cfg["RESTART_enabled"].as_bool().unwrap() {
|
||||
if cfg["reddit"]["RESTART_enabled"].as_bool().unwrap() {
|
||||
cmds.extend([
|
||||
re_cmds::add::cmd(),
|
||||
re_cmds::approve::cmd(),
|
||||
|
||||
Reference in New Issue
Block a user