Fix bug with shellquote
This commit is contained in:
parent
56e0c849b2
commit
e258613f27
@ -13,6 +13,7 @@ import (
|
||||
|
||||
func addTagCommand(ctx disgoman.Context, args []string) {
|
||||
if len(args) >= 1 {
|
||||
fmt.Println(args)
|
||||
args, err := shellquote.Split(strings.Join(args, " "))
|
||||
if err != nil {
|
||||
if strings.Contains(err.Error(), "Unterminated") {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user