replaced allow_slash with a method to disallow text commands for soundboard. made string argument selector stricter
This commit is contained in:
1 parent
14ef6385a0
commit
a38e4c808e
9 files changed
+164
-47
No files matched your search
+2
-2
@@ -184,14 +184,14 @@ __Available ambience sounds:__
|
||||
}
|
||||
|
||||
#[command("soundboard")]
|
||||
#[aliases("board")]
|
||||
#[group("Play")]
|
||||
#[kind(Slash)]
|
||||
#[description("Get a menu of sounds with buttons to play them")]
|
||||
#[arg(
|
||||
name = "1",
|
||||
description = "Query for sound button 1",
|
||||
kind = "String",
|
||||
required = false
|
||||
required = true
|
||||
)]
|
||||
#[arg(
|
||||
name = "2",
|
||||
|
||||
Reference in new issue
Block a user