Giter Club home page Giter Club logo

maianimebot's Introduction

MaiAnimeBot

MyAnimeList link finding Discord Bot

General Commands

  • !ping: Pings bot
  • !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

MyAnimeList Search Commands

  • !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

Note before installation

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.

Installation

  1. Clone this repository
  2. Open a console in the MaiAnimeBot folder and run npm install
  3. Create a .env file inside the folder with TOKEN=(token) inside, replacing (token) your discord bot token.
  4. To start, run node MaiAB.js or npm test

Credits

maianimebot's People

Contributors

dowzhong avatar yabainyan avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.