Skip to content

Commit

Permalink
Small bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dynomite567 committed Oct 4, 2019
1 parent 2fa8f7f commit eac498a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pastepwn/actions/discordaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class DiscordAction(BasicAction):
"""Action to send a Discord message to a certain channel via a webhook"""
name = "DiscordAction"

def __init__(self, webhook, token, channel, custom_payload=None, template=None):
def __init__(self, token, channel, webhook=None, custom_payload=None, template=None):
super().__init__()
self.logger = logging.getLogger(__name__)

Expand Down

0 comments on commit eac498a

Please sign in to comment.