-
Notifications
You must be signed in to change notification settings - Fork 49
Description
discord seems to now be using discordapp.com instead of discord.com in their webhook urls (discord.com still works for now, so you can just remove 'app' from the url) and dhooks doesn't detect the discordapp.com variants as valid webhooks. idk if this module is still supported but if not then maybe it will help someone else running into the same issue
Line 120 in cdd5f3f
| ENDPOINT = 'https://discord.com/api/webhooks/{id}/{token}' |
Line 478 in cdd5f3f
| self.url = self.ENDPOINT.format(id=self.id, token=self.token) |
these seem to be the pertinent lines
EDIT: i looked into some older issues and it seems like I somehow managed to get an outdated version of the module through pip install without the most recent commits which addressed this. it also sounds like discordapp.com is the old endpoint but discord still gave me that url through the built-in "copy webhook" button today.