diff --git a/config.go b/config.go index eeda11b..9f3ed2d 100644 --- a/config.go +++ b/config.go @@ -12,23 +12,7 @@ import ( func status(s *discordgo.Session) { defer log.PanicSafe() - monChan, _ := s.Channel(config.MonitorChann) - - roles, _ := s.GuildRoles(config.GuildID) - var monRole discordgo.Role - var veriRole discordgo.Role - for _, role := range roles { - if role.ID == config.MonitorRole { - monRole = *role - } - if role.ID == config.VerifiedRole { - veriRole = *role - } - } status := fmt.Sprintf("Uptime: %+v\n", time.Since(startupTime)) - status += fmt.Sprintf("Monitor role: %+v\n", monRole.Mention()) - status += fmt.Sprintf("Monitor chann: %+v\n", monChan.Mention()) - status += fmt.Sprintf("Verified role: %+v\n", veriRole.Mention()) status += fmt.Sprintf("Last bump: %+v\n", time.Since(config.BumpTime)) status += fmt.Sprintf("Last bumper: <@%+v>\n", config.LastBumper) status += fmt.Sprintf("Bump needed: %+v\n", bump)