"...Georgia Tech University."
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 test
to make sure it runs fine.- Copy
config.sample.toml
intoconfig.toml
and make changes. go run .
orgo build
to build and/or run it.
/set-as-feed-channel
to set the current channel as the feed channel. This requires "manage channels" permission.
/subscribe :title
to subscribe to a certain manga title./unsubscribe :title
to remove a subscription.
The bot will mention subscribed users whenever there's a new chapter for the title.
/fetch
to trigger the bot to fetch for new chapters from the source./announce
to 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 config.sample.toml
and the (parser)_test.go
files and find out how it works.
It's pretty simple anyway.