Skip to content

Commit

Permalink
Fix: removed songrequest handler and fixed eventbus bug
Browse files Browse the repository at this point in the history
  • Loading branch information
khades committed Apr 20, 2018
1 parent 1b07c0e commit e578fd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bot/subHandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func subHandler(message *irc.Message, ircClient *ircClient.IrcClient) {

log.Printf("Channel %v: %v subbed for %v months\n", channel, user, subCount)

eventbus.EventBus.Publish(eventbus.EventSub(&channelID))
eventbus.EventBus.Publish(eventbus.EventSub(&channelID),"newSub")
}
}
}
3 changes: 1 addition & 2 deletions commandHandlers/route.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ var Router = RouterStruct{routes: map[string]CommandHandler{
"new": New,
"alias": Alias,
"subdayNew": SubdayNew,
"subdayEnd": SubdayEnd,
"songrequest": SongRequestAdd}}
"subdayEnd": SubdayEnd}}

0 comments on commit e578fd5

Please sign in to comment.