GithubHelp home page GithubHelp logo

magireco-bot's Introduction

Magireco Bot

A bot made for the Magireco discord.

Environment Variables

Put these values in a .env file.

Required

  • DISCORD_TOKEN - the Discord token for the bot.
  • TYPEORM_CONNECTION - sqlite
  • TYPEORM_SYNCHRONIZE - true
  • TYPEORM_ENTITIES - src/entity/*.ts
  • TYPEORM_DATABASE - the path to the sqlite database, recommend putting in src/data/

Optional

  • COMMAND_PREFIX - the command prefix for the bot. Defaults to !.
  • IGNORE_PRESENCE - do not set presence values.

magireco-bot's People

Contributors

madokadev1003 avatar ranigad avatar seiyria avatar

Watchers

 avatar  avatar

Forkers

madokadev1003

magireco-bot's Issues

Bot Database

Update: Migrating old table and creating services to connect

This is blocking for emoji data, need to discuss how we want the schema to look as well as how we want to store emoji data.

recognize gacha rolls and remove them from non gacha channels

will only work on embedded images. to do this:

  • get the image from the discord embed
  • check for a few pixels (probably, use the pink in the bottom left, bottom right, buttons on the bottom, and the purple on the bottom right) - a library like Jimp can do this
  • if all pixels are present, the image is a gacha roll
  • if the channel name doesnt include gacha-results, remove the image
  • pm or ping the user telling them to relocate their image

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.