Code Monkey home page Code Monkey logo

megumeme's Introduction

Megumeme

An anime themed discord bot with commands of various types. Designed for personal use but can be configured to run on multiple servers at once.

This is a personal project, as such commenting is a bit subpar and will improve over time.

Coded in Node.js using the Discord.js module.

If you plan to host this personally:

Create a folder in /data/logs/ called ServerName:ServerID for each server you add the bot to. This directory is required for the bot to save logs of offensive language.

Open /preferences/unchanging.js and fill in the required data such as bot tokens and API keys.

Open /preferences/AdminRole.txt and change that to the name of the role you want to have access to admin commands.

Open /commandFunctions/management.js and change instances of "YOUR USER ID HERE" to your user ID (Or delete the lines to remove PMs when the the bot is triggered).

Create the folder data in the directory you intend to run the bot from and place inside it the setdex_sm.js file that can be found in the official damagecalc Git here: https://github.com/Zarel/honko-damagecalc and show some love to those guys while you're at it. (This avoids the pathing conflict had previously, since I pull these assets from a source outside of the bot project itself.)

Install the following modules (can be done with npm i):

Discord.js, danbooru, request, xml2js, jquery, superagent, jsdom, mal-api, request-promise, safe-browse-url-lookup, axios

These may become unnecessary in future updates. Currently the bot contains some repeated code to be less resource intensive, this is likely to be removed over time.

megumeme's People

Contributors

merconix avatar fluffylea 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.