dunno
This commit is contained in:
@@ -7,6 +7,7 @@ edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
dotenv = "0.15.0"
|
||||
indoc = "1.0.7"
|
||||
serde = "1.0.148"
|
||||
serenity = "0.11"
|
||||
strip-ansi-escapes = "0.1.1"
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
mod mindus;
|
||||
use crate::mindus::*;
|
||||
// use std::{env};
|
||||
use serenity::async_trait;
|
||||
use serenity::model::prelude::{UserId, RoleId};
|
||||
use serenity::prelude::*;
|
||||
@@ -97,7 +96,7 @@ async fn pong(ctx: &Context, msg: &Message) -> CommandResult {
|
||||
#[command]
|
||||
#[aliases("c", "cons")]
|
||||
#[description("Send a command to the mindustry server console")]
|
||||
#[example("c status")]
|
||||
#[example("status")]
|
||||
#[min_args(1)]
|
||||
async fn console(ctx: &Context, msg: &Message, args: Args) -> CommandResult {
|
||||
|
||||
@@ -133,7 +132,7 @@ async fn console(ctx: &Context, msg: &Message, args: Args) -> CommandResult {
|
||||
#[num_args(1)]
|
||||
#[aliases("a")]
|
||||
#[description("Give youself permissions to build in the mindustry server")]
|
||||
#[example("a ErkDog")]
|
||||
#[example("ErkDog")]
|
||||
async fn auth(ctx: &Context, msg: &Message, args: Args) -> CommandResult {
|
||||
|
||||
let data = ctx.data.read().await;
|
||||
|
||||
Reference in New Issue
Block a user