“…Georgia Tech University.”
What is this?
decatholac MANGO (dM) is a Discord bot that fetches new manga chapter releases and then announce it to servers it’s been registered to.
Currently it can parse from HTML, JSON and RSS.
go testto make sure it runs fine.
config.tomland make changes.
go run .or
go buildto build and/or run it.
/set-as-feed-channelto set the current channel as the feed channel. This requires “manage channels” permission.
/subscribe :titleto subscribe to a certain manga title.
/unsubscribe :titleto remove a subscription.
The bot will mention subscribed users whenever there’s a new chapter for the title.
/fetchto trigger the bot to fetch for new chapters from the source.
/announceto trigger the bot to announce new chapters to the feed channel.
Fetching and announcing happens periodically through a cronjob. The two commands listed above can be used to trigger it manually.
It’s kind of a pain to explain how it works so just look at
(parser)_test.go files and find out how it works.
It’s pretty simple anyway.