~exprez135/go-hypixel

e6925ad087c61a5837da6658b019f75a254b1b9f — Nate Ijams 3 years ago 23f07b8 v0.0.20
Add command for new feature.
1 files changed, 4 insertions(+), 0 deletions(-)

M engine/discord.go
M engine/discord.go => engine/discord.go +4 -0
@@ 99,6 99,10 @@ func StartDiscord() {
		bedDefence(ctx)
	}).Desc("chooses an online player to make the bed defence.")

	router.On("recent", func(ctx *exrouter.Context) {
		playerRecent(ctx)
	}).Desc("fetches info on the last bed wars game of a player.")

	router.On("info", func(ctx *exrouter.Context) {
		ctx.Reply("**Info**\n---\nWritten by exprez135. Licensed under the AGPLv3. See https://git.sr.ht/~exprez135/go-hypixel.")
	}).Desc("responds with info about the program")