diff options
Diffstat (limited to 'discord/http.py')
| -rw-r--r-- | discord/http.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/discord/http.py b/discord/http.py index b32cc917..6a045f2f 100644 --- a/discord/http.py +++ b/discord/http.py @@ -65,12 +65,13 @@ class Route: # major parameters: self.channel_id = parameters.get('channel_id') self.guild_id = parameters.get('guild_id') - self.interaction_token = parameters.get('interaction_token') + self.webhook_id = parameters.get('webhook_id') + self.webhook_token = parameters.get('webhook_token') @property def bucket(self): # the bucket is just method + path w/ major parameters - return f'{self.channel_id}:{self.guild_id}:{self.interaction_token}:{self.path}' + return f'{self.channel_id}:{self.guild_id}:{self.path}' class MaybeUnlock: |