|
|
|
@ -414,7 +414,7 @@ func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) {
@@ -414,7 +414,7 @@ func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) {
|
|
|
|
|
func findVerification(s *discordgo.Session, m *discordgo.MessageCreate) { |
|
|
|
|
parts := strings.Split(m.Content, " ") |
|
|
|
|
discordId := parts[1] |
|
|
|
|
matches, err := filepath.Glob(fmt.Sprintf("*%+v*", discordId)) |
|
|
|
|
matches, err := filepath.Glob(fmt.Sprintf("./verifications/*%+v*", discordId)) |
|
|
|
|
if err != nil { |
|
|
|
|
log.LogErrorType(err) |
|
|
|
|
return |
|
|
|
|