Skip to content

Commit

Permalink
Added slap command
Browse files Browse the repository at this point in the history
  • Loading branch information
FlameInTheDark committed May 15, 2019
1 parent 6dd3ac1 commit a822cc1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/funcommand.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ func SlapCommand(ctx bot.Context) {
url, err := fun.GetImageURL("slap")
if err != nil {
ctx.ReplyEmbedAttachmentImageURL(fmt.Sprintf("%v slaping %v", ctx.User.Mention(), ctx.Args[0]), url)
} else {
fmt.Printf(err.Error())
}
}
}

0 comments on commit a822cc1

Please sign in to comment.