custom candy spawner

This commit is contained in:
skeletable 2022-10-02 14:59:21 +02:00
parent 6ba5e66fcf
commit 203bc227f3
1 changed files with 1 additions and 2 deletions

View File

@ -1307,8 +1307,7 @@ func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) {
if strings.HasPrefix(m.Content, "pp!spawncandy") && m.Author.ID == "228911057316347905" {
arg := strings.Split(m.Content, " ")
arg = arg[1:]
candy(s, m.ChannelID, strings.Join(arg, " "))
candy(s, m.ChannelID, arg[1])
}
if strings.HasPrefix(m.Content, "pp!db") && m.Author.ID == "228911057316347905" {