mirror of
https://github.com/fumiama/ReiBot.git
synced 2026-06-16 16:43:14 +08:00
add more
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
This framework is a simple wrapper for [go-telegram-bot-api](https://github.com/go-telegram-bot-api/telegram-bot-api), aiming to make the event processing easier.
|
||||
|
||||
## Quick Start
|
||||
> Here is a plugin-based example
|
||||
> Here is a plugin-based example, see more in the `example` folder
|
||||
|
||||

|
||||
|
||||
@@ -34,8 +34,7 @@ func main() {
|
||||
if args == "" {
|
||||
return
|
||||
}
|
||||
msg := ctx.Value.(*tgba.Message)
|
||||
ctx.Caller.Send(tgba.NewMessage(msg.Chat.ID, args))
|
||||
ctx.Caller.Send(tgba.NewMessage(ctx.Message.Chat.ID, args))
|
||||
})
|
||||
rei.Run(rei.Bot{
|
||||
Token: "",
|
||||
|
||||
Reference in New Issue
Block a user