added source command
This commit is contained in:
@@ -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"
|
||||
}
|
Reference in New Issue
Block a user