debug removing prefix
Some checks are pending
CI / build (push) Waiting to run

This commit is contained in:
Dustin Pianalto 2021-01-24 00:57:00 -09:00
parent c776b25899
commit 888d356b67

View File

@ -81,7 +81,7 @@ func removePrefixCommandFunc(ctx disgoman.Context, args []string) {
}
} else {
for _, a := range args {
l := len(guild.Prefixes) - 1
l := len(guild.Prefixes)
for i := 0; i < l; i++ {
if a == guild.Prefixes[i] {
guild.Prefixes = append(guild.Prefixes[:i], guild.Prefixes[i+1:]...)