Remove redundant test code
This commit is contained in:
parent
a86bdc4a65
commit
204803cd0b
@ -62,11 +62,6 @@ func (app *Bot) Initialize(cfg *core.Config) error {
|
||||
app.Session.OnEventDelete(app.onEventDelete)
|
||||
app.Session.OnEventUpdate(app.onEventUpdate)
|
||||
|
||||
btn := app.Session.NewButton("test", "Click Me")
|
||||
btn.OnClick(func(user common.User) {
|
||||
print("clicked")
|
||||
})
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user