GithubHelp home page GithubHelp logo

quarantine_bot's Introduction

Quarantine Bot

A repo for pretty specific functionality I'm adding to a personal discord server. Built using the nextcord library.

Set up for Development

This project uses pipenv to manage dependencies (I used 2022.1.8). Once pipenv is installed:

  • Create a discord bot in the Developer Portal
  • pipenv install
  • Copy example.config.json to config.json
    • Change the token to your discord bot's token
    • Change the guild ID list to the list of guild IDs (servers) you want to add the bot to (otherwise it'll add to all servers it's registered to)
    • Alternatively, set the env vars used in main.py accordingly (this is what the heroku deploy uses)
  • pipenv run start will run the bot.
  • The bot will print out a URL that will let you add it to a server you have permissions for.

See Pipfile for useful scripts (e.g. pipenv run lint).

Deployment

This is CD'd on Heroku using the main branch.

quarantine_bot's People

Contributors

eriwang avatar

Watchers

 avatar

quarantine_bot's Issues

[YGO Master Duel] Create view of deck based off image

It would be useful to create a decklist for viewing on some site based off an image (e.g. if I screencap a deck with 50 cards and an extra deck, be able to associate all the pictures to cards and generate a deck that people can view.

There's some milestones here that are useful in their own way:

  • Given a deck image (or a bunch of cards), match to an actual known card with card data (including master duel rarity, description.....)
  • Given a bunch of card data, hook up to some UI (e.g. an existing site) that displays the card data nicely
  • Any/all of the above, but bundled into a discord bot

CI/CD Setup

It'd be nice to set up the following:

  • Linting
  • Testing (if functionality gets more complicated)
  • Continuous deployment (probably on heroku with a CC to verify identity)

Bot Help Command

It'd be useful to add a help command to the bot, either as a user command, a message listener, or both.

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.