This commit is contained in:
ModulatingForce 2024-03-25 17:46:57 -04:00
commit 38e7060d86
6 changed files with 168 additions and 29 deletions
src/custom/experimental

View file

@ -10,6 +10,10 @@
*/
const OF_CMD_CHANNEL:Channel = Channel(String::new());
use std::sync::Arc;
use chrono::{TimeZone,Local};
@ -28,8 +32,6 @@ use crate::core::identity::UserRole::*;
pub async fn init(mgr: Arc<ModulesManager>) {
const OF_CMD_CHANNEL:Channel = Channel(String::new());
// 1. Define the BotAction
let botc1 = BotCommand {
@ -42,7 +44,8 @@ pub async fn init(mgr: Arc<ModulesManager>) {
help: String::from("Test Command tester"),
required_roles: vec![
BotAdmin,
Mod(OF_CMD_CHANNEL),
// Mod(OF_CMD_CHANNEL),
VIP(OF_CMD_CHANNEL),
],
};