Remove draft ~invite command

This commit is contained in:
Malte Tammena 2021-12-09 11:54:47 +01:00
parent e71dcf00be
commit 21db37b613
4 changed files with 3 additions and 13 deletions

2
Cargo.lock generated
View file

@ -613,7 +613,7 @@ dependencies = [
[[package]]
name = "glados"
version = "0.1.1"
version = "0.1.2"
dependencies = [
"dotenv",
"influx_db_client",

View file

@ -1,6 +1,6 @@
[package]
name = "glados"
version = "0.1.1"
version = "0.1.2"
edition = "2021"
license = "MIT"

View file

@ -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
//!

View file

@ -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"]