MyAnimeList link finding Discord Bot
!ping
: Pings bot!whatsmyid
: Returns your discord id number
!mal (query)
: Searches for(query)
and replys with embed, along with deleting the command. Use this instead of angle bracket method if you need to lookup anything starting with@
,#
, or:
!7up (query)
: Same as!mal
, but only responds with shows with a score of 7 or above!manga (query)
: Same as!mal
, but looks for manga instead!seiyuu (query)
: Same as!mal
, but looks for voice actors instead<query>
: Querys text that is between angled brackets (<>). Will work within a message or standalone. Command will not be deleted if it is within a message, but will be if it is standalone.{query}
: same as<query>
, but looks for manga instead[query]
: same as<query>
, but looks for voice actors instead
(These commands will only work for the Owner of a server and the ADMINID
specified in the .env)
!purge (number)
: Purges a number of messages from the chat. Only available to the server owner. Currently set with a maximum of 10 messages to prevent accidental deleting of whole text channel's history.!movechat (number) #(channel)
: Much like purge, but will also send all the deleted messages to another channel. The maximum amount for messages is 50. Note that any attachments will disappear, and attachment links wont work anymore, as discord doesnt allow attachments to be accessable after the message is deleted.!delete (message id)
: Deletes a message!pin (message id)
: Pins a message!unpin (message id)
: Unpins a message
!nh (nhentai book id)
: looks up tags on a nhentai book
For auto command deletion, make sure that the bot is Authorised to Manage Messages, either when you generate the bot invite link or add it to the bot role later. You may skip this or disable its ability to manage messages if you would not like this feature enabled.
- Clone this repository
- Open a console in the MaiAnimeBot folder and run
npm install
- Create a
.env
file inside the folder withTOKEN=(token)
inside, replacing (token) your discord bot token. - To start, run
node MaiAB.js
ornpm test