diff --git a/lorebot/lorebot.go b/lorebot/lorebot.go index 0f5455e..89276b8 100644 --- a/lorebot/lorebot.go +++ b/lorebot/lorebot.go @@ -301,6 +301,17 @@ func rngHandler(s *discordgo.Session, m *discordgo.MessageCreate, redisClient *r } func shopHandler(s *discordgo.Session, m *discordgo.MessageCreate, redisClient *redis.Client) { + // data format + // redis set for the following indexes: + // index:dnd:common + // index:dnd:uncommon + // index:dnd:rare + // index:dnd:very_rare + // index:dnd:legendary + // + // redis hash with the following data + // dnd:abracadabrus name x rarity x price x type x + // item settings minCommon := 4 maxCommon := 6