replaced allow_slash with a method to disallow text commands for soundboard. made string argument selector stricter

This commit is contained in:
jude committed 2021-06-25 23:13:11 +01:00
1 parent 14ef6385a0
commit a38e4c808e
9 files changed
+164 -47

No files matched your search

+2 -2
View File
@@ -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",