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]]
|
[[package]]
|
||||||
name = "glados"
|
name = "glados"
|
||||||
version = "0.1.1"
|
version = "0.1.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"dotenv",
|
"dotenv",
|
||||||
"influx_db_client",
|
"influx_db_client",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "glados"
|
name = "glados"
|
||||||
version = "0.1.1"
|
version = "0.1.2"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
//! - `~ping`
|
//! - `~ping`
|
||||||
//! - Pong!
|
//! - Pong!
|
||||||
//!
|
//!
|
||||||
//! - `~invite Random#1234` (not possible)
|
|
||||||
//! - Invite someone into the guild
|
|
||||||
//!
|
|
||||||
//! - `~filter Active - Linked`
|
//! - `~filter Active - Linked`
|
||||||
//! - Filter members based on assigned roles
|
//! - Filter members based on assigned roles
|
||||||
//!
|
//!
|
||||||
|
|
|
@ -34,7 +34,7 @@ pub fn init() -> StandardFramework {
|
||||||
|
|
||||||
#[group]
|
#[group]
|
||||||
#[owners_only]
|
#[owners_only]
|
||||||
#[commands(ping, invite, filter)]
|
#[commands(ping, filter)]
|
||||||
struct Owner;
|
struct Owner;
|
||||||
|
|
||||||
#[group]
|
#[group]
|
||||||
|
@ -47,13 +47,6 @@ async fn ping(ctx: &Context, msg: &Message) -> CommandResult {
|
||||||
Ok(())
|
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]
|
#[help]
|
||||||
#[max_levenshtein_distance(3)]
|
#[max_levenshtein_distance(3)]
|
||||||
#[lacking_permissions = "Hide"]
|
#[lacking_permissions = "Hide"]
|
||||||
|
|
Loading…
Reference in a new issue