added source command

This commit is contained in:
2020-06-10 01:15:05 -05:00
parent 12cfe02319
commit dd95bcf73e
2 changed files with 7 additions and 0 deletions

View File

@@ -29,4 +29,9 @@ func roll(author string) string{
max := 100
num := rand.Intn(max - min) + min
return "<@" + author + "> rolls a number between 1 and 100. They roll **" + strconv.Itoa(num) + "**."
}
// source code
func source() string {
return "BunnyBot is a Discord bot written in Go. You can view the source code here: https://git.dtam.pw/daniel/GoBunnyBot"
}