Giter Site home page Giter Site logo

oddify's Introduction

Oddify

Add Oddify to your Discord Server

A discord bot... but Oddish???

Oddify is a discord bot built for the sole of pasting Oddish's face onto random pokemon (and flags). It is made with Pokemon Fusion, Flagpedia, and discord.py.

Oddnat Oddto Oddwhirl
canada uk tuvalu

How to use

First, Invite Oddify. Then just type oddify help to get started!

Some fun pokemon... but odd

Oddpod Oddster
> oddify metapod > oddify cloyster
Oddgar Oddth
> oddify gengar > oddify meowth
Oddmime Oddfing
> oddify mr. mime > oddify koffing
Oddlax Oddish
> oddify snorlax > oddify oddish

Flags

france US
> oddify france > oddify us

All 151 (+1) first generation pokemon are supported through https://pokemon.alexonsager.net/. Flags from Flagpedia, names from pycountry.

Development

Clone this repo

git clone https://github.com/liam-ilan/oddify.git

Install the required pacakges with Poetry

poetry install

Alternatively, a requirements.txt file is provided

Create a bot through the discord developer dashboard Invite it through the link obtained under the OAuth2 tab

Create a .env file, and write the following

TOKEN=<secret token>

Your secret token is your bot's token

Then run

poetry run python main.py

to start the bot

Hosting through Heroku

Note: this bot is currently being hosted through https://replit.com, you can find the repl here: https://replit.com/@snowboardsheep/oddify

  1. Set your buildpack to Python
  2. Build requirements.txt with poetry export -f requirements.txt --output requirements.txt, since Heroku's Python buildpack uses pip to install packages.
  3. Push the bot to Heroku
  4. Ping the site to keep the bot online (see ping.py)

Credits

oddify's People

Contributors

andreisva avatar liam-ilan avatar

Watchers

 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.