Minor fix
This commit is contained in:
parent
173a3c996d
commit
e50ce4da89
@ -36,7 +36,7 @@ func Did(s *discordgo.Session, msg *discordgo.MessageCreate) bool {
|
|||||||
userName := matches[1]
|
userName := matches[1]
|
||||||
animeName := matches[2]
|
animeName := matches[2]
|
||||||
|
|
||||||
user, err := arn.GetUser(userName)
|
user, err := arn.GetUserByNick(userName)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
_, err := s.ChannelMessageSend(msg.ChannelID, "User not found")
|
_, err := s.ChannelMessageSend(msg.ChannelID, "User not found")
|
||||||
|
Loading…
Reference in New Issue
Block a user