feat: add get users

This commit is contained in:
Vaala Cat
2023-05-17 15:14:31 +08:00
parent 199ebba158
commit 50191e20ef
7 changed files with 75 additions and 32 deletions

9
conf/bot.go Normal file
View File

@@ -0,0 +1,9 @@
package conf
import (
tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api/v5"
)
var (
Bot *tgbotapi.BotAPI
)

15
conf/mc.go Normal file
View File

@@ -0,0 +1,15 @@
package conf
import (
"github.com/Tnze/go-mc/bot"
"github.com/Tnze/go-mc/bot/basic"
"github.com/Tnze/go-mc/bot/msg"
"github.com/Tnze/go-mc/bot/playerlist"
)
var (
Client *bot.Client
Player *basic.Player
ChatHandler *msg.Manager
PlayerList *playerlist.PlayerList
)