1
0
mirror of https://github.com/fumiama/NanoBot.git synced 2026-06-09 12:40:24 +08:00

optimize: メッセージ送信機能

This commit is contained in:
源文雨
2023-10-17 23:34:07 +09:00
parent d82564e798
commit 9c5a9796e1
4 changed files with 50 additions and 23 deletions

2
bot.go
View File

@@ -153,7 +153,7 @@ func (bot *Bot) Authorization() string {
return "Bot " + bot.AppID + "." + bot.Token
}
// AtMe 返回 "<@!"+bot.ready.User.ID+">"
// AtMe 返回 <@!bot.ready.User.ID>
func (bot *Bot) AtMe() string {
return "<@!" + bot.ready.User.ID + ">"
}