Run formatter
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Elara 2023-12-04 17:35:27 -08:00
parent f856e1619f
commit b16ef37e72
3 changed files with 4 additions and 4 deletions

View File

@ -115,7 +115,7 @@ func onChannelDelete(s *discordgo.Session, cd *discordgo.ChannelDelete) {
continue
}
// If the bot deleted the channel, we don't care about this event
// If the bot deleted the channel, we don't care about this event
if entry.UserID == s.State.User.ID {
return
}
@ -154,7 +154,7 @@ func handleBanOrKick(s *discordgo.Session, gmr *discordgo.GuildMemberRemove) err
}
for _, entry := range auditLog.AuditLogEntries {
// If there's no action type or the user isn't the one this
// If there's no action type or the user isn't the one this
// event is for, skip it.
if entry.ActionType == nil || entry.TargetID != gmr.User.ID {
continue

View File

@ -39,7 +39,7 @@ func Init(s *discordgo.Session) error {
},
},
})
return nil
}

View File

@ -31,7 +31,7 @@ import (
var neopronounValidationRegex = regexp.MustCompile(`^[a-z]+(/[a-z]+)+$`)
// neopronounCmd assigns a neopronoun role to the user that ran it.
// neopronounCmd assigns a neopronoun role to the user that ran it.
func neopronounCmd(s *discordgo.Session, i *discordgo.InteractionCreate) error {
data := i.ApplicationCommandData()
name := data.Options[0].StringValue()