added missing error for a RespondText
1 files changed, 4 insertions(+), 1 deletions(-) M discord.go
M discord.go => discord.go +4 -1
@@ 245,7 245,10 @@ func getDistrictInformation(ctx *dgc.Ctx) { district, err := GetDistrict(arg.Raw()) if err != nil { log.Error(err.Error()) - ctx.RespondText(err.Error()) + if err := ctx.RespondText(err.Error()); err != nil { + log.Error(err) + } + return }