Skip to content

Commit

Permalink
友好的提示
Browse files Browse the repository at this point in the history
  • Loading branch information
IJNKAWAKAZE committed Sep 3, 2024
1 parent 061e535 commit f2157f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/player/gacha_handle.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (_ PlayerOperationGacha) Run(uid string, userAccount account.UserAccount, c
chars, err := skland.GetPlayerGacha(token, channelId)
if err != nil {
log.Println(err)
sendMessage := tgbotapi.NewMessage(chatId, fmt.Sprintf("token可能已失效请[重设token](https://t.me/%s)。", viper.GetString("bot.name")))
sendMessage := tgbotapi.NewMessage(chatId, err.Error())
sendMessage.ParseMode = tgbotapi.ModeMarkdownV2
sendMessage.ReplyToMessageID = messageId
bot.Arknights.Send(sendMessage)
Expand Down

0 comments on commit f2157f0

Please sign in to comment.