igorquintaes / Discans

Discord bot to notify when manga chapter is released in english, based on MangaUpdates website.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Discans

Discord bot to notify when manga chapter is released in english, based on online websites that provide manga releases.

Compatible Websites

How to Use discans in your server

  • Create and deploy your own version of the bot;
  • Open the channel that you want to receive Discans notifications and send discans channel keywords;
  • If you don't want to chat with Discans in english, you can change Discans language using the command discans language [language in format xx-XX]. We are supporting mainly two languages: en-US and pt-BR;
  • Now you can send commands for alert creation. You can check more about it above.

Commands

Command Description
info Discans introduce itself and says Github page url to user see all commands available.
channel Set the default channel to receive user alerts or server alerts.
language Change discans language for DM or Discord Server.
server-alert [url] Creates an alert to @everyone when a new manga chapter be released in that Discord server. Only an Admin can use that command.
server-alert-remove [url] Delete a server alert already registered to @everyone in that Discord server. Only an Admin can use that command.
server-alert-remove-all Remove manga's alerts in the Discord Server. It can be User Alerts or Server Alerts. Only an Admin can use that command and has a confirmation message.
server-alert-list List all alerts configurated to @everyone in this that Discord Server.
server-alert-list-all ist all alerts configurated to @everyone and @users in this that Discord Server.
user-alert [url] [user(s)] Create an alert to @user(s) when a new manga chapter be released. Only an Admin can create alert to other users than not you.
user-alert-remove [url] [user(s)] Remove manga's alerts assigned to @user(s). Only an Admin can remove alerts from other users than not you.
user-alert-remove [user(s)] Removes all alerts assigned to @user(s). Only an Admin can remove alerts from other users than not you.
user-alert-list List all alerts configurated to @users in this that Discord Server.
private-alert [url] Creates an alert to send you a Direct Message when a new manga chapter be released.
private-alert-remove [url] Remove manga's alerts assigned to the user in Direct Message.
private-alert-list List all alerts configurated to send as Direct Message for that user.

Commands usage examples

discans info
discans channel
discans language pt-BR
discans server-alert https://www.mangaupdates.com/series.html?id=88
discans server-alert-remove https://www.mangaupdates.com/series.html?id=88
discans server-alert-remove-all
discans server-alert-list
discans server-alert-list-all
discans user-alert https://www.mangaupdates.com/series.html?id=88 @user#1
discans user-alert https://www.mangaupdates.com/series.html?id=88 @user#1 @user#2 @user#3
discans user-alert-remove https://www.mangaupdates.com/series.html?id=88 @user#1
discans user-alert-remove https://www.mangaupdates.com/series.html?id=88 @user#1 @user#2 @user#3
discans user-alert-remove @user#1 
discans user-alert-remove @user#1 @user#2 @user#3
discans user-alert-list
discans private-alert https://www.mangaupdates.com/series.html?id=88
discans private-alert-remove https://www.mangaupdates.com/series.html?id=88
discans private-alert-list

For Developers

Requirements & How to build

  • MySQL server and his connection string;
  • Download and install .Net Core 2.2 SDK;
  • Replace config.json variables with your own ones to run in a non production environment;
  • Register all config.json variables as Environment Variables to run in a production environment;

A production environment is defined as ASPNETCORE_ENVIRONMENT == production, case insensitively as Environment Variable.

Discans Project runs the Discord bot to interact with user messages, and Discans.WebJob is a cron job who checks when there is a new manga chapter released.

Pending Developments

  • Alert @Everyone
  • Alert @User
  • Alert @Role
  • Alert @User by Direct Message

About

Discord bot to notify when manga chapter is released in english, based on MangaUpdates website.

License:GNU General Public License v3.0


Languages

Language:C# 100.0%