Remove draft ~invite
command
This commit is contained in:
parent
e71dcf00be
commit
21db37b613
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -613,7 +613,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "glados"
|
||||
version = "0.1.1"
|
||||
version = "0.1.2"
|
||||
dependencies = [
|
||||
"dotenv",
|
||||
"influx_db_client",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "glados"
|
||||
version = "0.1.1"
|
||||
version = "0.1.2"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
|
||||
|
|
|
@ -3,9 +3,6 @@
|
|||
//! - `~ping`
|
||||
//! - Pong!
|
||||
//!
|
||||
//! - `~invite Random#1234` (not possible)
|
||||
//! - Invite someone into the guild
|
||||
//!
|
||||
//! - `~filter Active - Linked`
|
||||
//! - Filter members based on assigned roles
|
||||
//!
|
||||
|
|
|
@ -34,7 +34,7 @@ pub fn init() -> StandardFramework {
|
|||
|
||||
#[group]
|
||||
#[owners_only]
|
||||
#[commands(ping, invite, filter)]
|
||||
#[commands(ping, filter)]
|
||||
struct Owner;
|
||||
|
||||
#[group]
|
||||
|
@ -47,13 +47,6 @@ async fn ping(ctx: &Context, msg: &Message) -> CommandResult {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
#[command]
|
||||
#[description = "Invite a new member to the guild"]
|
||||
async fn invite(ctx: &Context, msg: &Message) -> CommandResult {
|
||||
msg.reply(&ctx.http, "TBD").await?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[help]
|
||||
#[max_levenshtein_distance(3)]
|
||||
#[lacking_permissions = "Hide"]
|
||||
|
|
Loading…
Reference in a new issue