@ -188,6 +188,7 @@ func idFromUsername(username string) string {
}
func isAdmin(m *discordgo.Member) bool {
log.LogDebug("Checking %+v for %+v", m.Roles, config.AdminRole)
for role := range m.Roles {
if fmt.Sprintf("%+v", role) == config.AdminRole {
return true
@ -83,6 +83,7 @@ func Commands(b BotCommand) bool {
print += fmt.Sprintf("```%+v\n%+v\n%+v```\n", cmd.Name, cmd.Keywords, cmd.Help)
b.Session.ChannelMessageSend(b.Message.ChannelID, print)