mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-04-20 01:08:55 +00:00
Move choose to community
This commit is contained in:
parent
647c45a0e7
commit
ebb381ad4e
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ group!({
|
||||||
Note that only online/idle users in the channel are chosen from."]
|
Note that only online/idle users in the channel are chosen from."]
|
||||||
#[usage = "[title = the chosen one]"]
|
#[usage = "[title = the chosen one]"]
|
||||||
#[example = "the strongest in Gensokyo"]
|
#[example = "the strongest in Gensokyo"]
|
||||||
|
#[bucket = "community"]
|
||||||
#[max_args(1)]
|
#[max_args(1)]
|
||||||
pub fn choose(ctx: &mut Context, m: &Message, mut args: Args) -> CommandResult {
|
pub fn choose(ctx: &mut Context, m: &Message, mut args: Args) -> CommandResult {
|
||||||
let title = if args.is_empty() {
|
let title = if args.is_empty() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue