package discord import "go.etztech.xyz/sedbot/imgur" func init() { commands = append(commands, &command{ name: "jupiter", aliases: []string{"jup", "jupjup"}, validate: func(cmd commandInit) bool { return true }, run: func(cmd commandInit) (string, error) { if !memeRateLimit.Try() { return "", nil } img := imgur.Images[rand.Intn(len(imgur.Images))-1] return img.Link, nil }, help: "Get a Jupiter image", }) }