aboutsummaryrefslogtreecommitdiff
path: root/telegram_bot.go
diff options
context:
space:
mode:
authorShulhan <m.shulhan@gmail.com>2020-04-12 04:42:45 +0700
committerShulhan <m.shulhan@gmail.com>2020-04-12 04:42:45 +0700
commit8e2aaf2df151f61a874bb7a62929afb005fa2abd (patch)
tree3497f604013d52b7f9a3c38335cf77661b388c44 /telegram_bot.go
parent9cf57fc952e4161c8e7fc5c9de8869d3137acb20 (diff)
downloadkamusku-8e2aaf2df151f61a874bb7a62929afb005fa2abd.tar.xz
all: fix and suppress linter warnings
Diffstat (limited to 'telegram_bot.go')
-rw-r--r--telegram_bot.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/telegram_bot.go b/telegram_bot.go
index 0f18729..a32fa17 100644
--- a/telegram_bot.go
+++ b/telegram_bot.go
@@ -16,7 +16,6 @@ import (
const (
defAddress = ":1928"
- commandBantuan = "bantuan"
commandDefinisi = "definisi"
commandStart = "start"
)
@@ -123,6 +122,7 @@ func (tgbot *TelegramBot) handleCommandDefinisi(update bot.Update) {
// handleCommandStart handle the "/start" command by welcoming the user.
//
func (tgbot *TelegramBot) handleCommandStart(update bot.Update) {
+ //nolint: lll
text := `Selamat datang <b>` + update.Message.From.FirstName + `</b>,
Untuk mencari definisi kata ketikan perintah <code>/definisi</code> diikuti dengan spasi dan kata yang ingin dicari. Pisahkan kata dengan koma untuk mencari lebih dari satu kata.