'github-hooks' -> 'webhooks'. this is a breaking change!
Move any 'github-hooks' channel settings to 'webhook' settings
This commit is contained in:
parent
831bcd0d23
commit
c60fb9975f
1 changed files with 1 additions and 2 deletions
|
@ -35,8 +35,7 @@ class Module(ModuleManager.BaseModule):
|
|||
branch = handler.branch(data, headers)
|
||||
current_event, event_action = handler.event(data, headers)
|
||||
|
||||
hooks = self.bot.database.channel_settings.find_by_setting(
|
||||
"%s-hooks" % webhook_type)
|
||||
hooks = self.bot.database.channel_settings.find_by_setting("webhooks")
|
||||
|
||||
targets = []
|
||||
repo_hooked = False
|
||||
|
|
Loading…
Reference in a new issue