mirror of https://github.com/velour/catbase.git
Add missing methods (React and GetEmojiList) to mockbot
This commit is contained in:
parent
c6e1769f0f
commit
1b09106356
|
@ -39,6 +39,10 @@ func (mb *MockBot) Filter(msg msg.Message, s string) string { return "" }
|
|||
func (mb *MockBot) LastMessage(ch string) (msg.Message, error) { return msg.Message{}, nil }
|
||||
func (mb *MockBot) CheckAdmin(nick string) bool { return false }
|
||||
|
||||
func (mb *MockBot) React(channel, reaction string, message msg.Message) {}
|
||||
func (mb *MockBot) GetEmojiList() map[string]string { return make(map[string]string) }
|
||||
|
||||
|
||||
func NewMockBot() *MockBot {
|
||||
db, err := sqlx.Open("sqlite3_custom", ":memory:")
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue