Inspired GuilhermeFaga's version but implemented in MangaDex's v5 API.
A simple Google Script
to which can be set up in a few minutes (no downloads required). This allows for automatic chapter updates from MangaDex to be forwarded to Discord via Webhooks.
The output in Discord:
- 13.02.2024 Removed account integration to link follow feed since
/user/auth/
has been deprecated. You should only use feeds.
- MangaDex Account
- Google Account
- Log into your account and create a public MDList
- Add manga to be tracked to the list through the
Add to MDList
on the manga page
- Create a Google Sheets
- Create two sheets
feeds
andwebhooks
(Case sensitive)
- Copy the
id
of your list (from the url)
- In the
feeds
sheet, paste theid
in the first column (multiple feeds can be pasted; also note, columns other than the first can have any text, useful for identifying which ID is which)
- Open App Script through
Extensions
->App Script
- Paste in
Code.gs
- Create a new
Script
called helper.gs - Paste in the code from
helper.gs
- Create a new
Trigger
- With the following settings:
function: main
,event source: Time-driven
,type of time: Minutes timer
,Select minute interval: Every 10 minutes
- Open server settings
- Go to
Integrations -> Webhooks -> New Webhook
and copy its url
-
The url should look like: https://discord.com/api/webhooks/954780574910939239/8kOKc413vL0CvxqsYtA8CUtZ0Hse8U3fTWiNqv42NWUymxV0k4_Rqya6oeGeA48JgYks
-
Paste the link into the first column in the
webhooks
sheet
- Simply add the text you want the specified webhook to send in the cel of the 2nd column
- To ping a certain role, put the custom text as
<@&role_id>
where role_id is the ID of the role - The ID of a role can be obtained by right clicking the role and clicking
Copy ID
- This will require Discord Developer Mode
- At the moment only the
Trigger Interval
and Target Language can be changed through modifying the script
- Modifying
line 5
ofCode.gs
will change the target language which the script detects
LANGUAGE
can be changed to any of the values specified by MangaDex's API