aboutsummaryrefslogtreecommitdiff
path: root/telegram_bot.go
diff options
context:
space:
mode:
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.