From eac498a786ced61ccf53accb3d24f20bd083a833 Mon Sep 17 00:00:00 2001 From: dynomite567 <17055345+dynomite567@users.noreply.github.com> Date: Fri, 4 Oct 2019 00:29:55 +0000 Subject: [PATCH] Small bug fix --- pastepwn/actions/discordaction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pastepwn/actions/discordaction.py b/pastepwn/actions/discordaction.py index e2ec787..e033398 100644 --- a/pastepwn/actions/discordaction.py +++ b/pastepwn/actions/discordaction.py @@ -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__)