Enhance support of screens

This commit is contained in:
Tnze
2021-07-04 12:38:24 +08:00
parent ebc44e7c8b
commit 7cfe5145d2
6 changed files with 148 additions and 63 deletions

7
bot/screen/events.go Normal file
View File

@ -0,0 +1,7 @@
package screen
type EventsListener struct {
Open func(id int) error
SetSlot func(id, index int) error
Close func(id int) error
}