mirror of https://github.com/velour/catbase.git
go fmt
This commit is contained in:
parent
ef0afc2ee0
commit
7a3646049c
|
@ -160,7 +160,6 @@ func (p *TwitchPlugin) checkTwitch(channel string, twitcher *Twitcher, alwaysPri
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
// func (p *TwitchPlugin) getTwitchStreams(channel string) bool {
|
||||
// token := p.Bot.config.Twitch.Token
|
||||
// if token == "" || token == "<Your Token>" {
|
||||
|
|
|
@ -28,7 +28,7 @@ func makeMessage(payload string) msg.Message {
|
|||
func makeTwitchPlugin(t *testing.T) (*TwitchPlugin, *bot.MockBot) {
|
||||
mb := bot.NewMockBot()
|
||||
c := New(mb)
|
||||
c.config.Twitch.Users = map[string][]string{ "test" : []string{"drseabass"}}
|
||||
c.config.Twitch.Users = map[string][]string{"test": []string{"drseabass"}}
|
||||
assert.NotNil(t, c)
|
||||
|
||||
c.twitchList["drseabass"] = &Twitcher{
|
||||
|
|
Loading…
Reference in New Issue