aboutsummaryrefslogtreecommitdiff
path: root/telegram_bot.go
diff options
context:
space:
mode:
Diffstat (limited to 'telegram_bot.go')
-rw-r--r--telegram_bot.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/telegram_bot.go b/telegram_bot.go
index d3c2606..b01b66e 100644
--- a/telegram_bot.go
+++ b/telegram_bot.go
@@ -1,7 +1,7 @@
// SPDX-FileCopyrightText: 2020 M. Shulhan <ms@kilabit.info>
// SPDX-License-Identifier: GPL-3.0-or-later
-package kamusd
+package kamusku
import (
"bytes"
@@ -10,7 +10,7 @@ import (
"os"
"strings"
- "git.sr.ht/~shulhan/kamusku"
+ "git.sr.ht/~shulhan/kbbi"
"git.sr.ht/~shulhan/pakakeh.go/api/telegram/bot"
)
@@ -154,7 +154,7 @@ dan bebas dipakai oleh publik.
}
}
-func formatText(wordDef kamusku.LookupResponse) string {
+func formatText(wordDef kbbi.LookupResponse) string {
buf := &bytes.Buffer{}
for k, kata := range wordDef {
fmt.Fprintf(buf, "<b>%s</b>\n", k)