Git Product home page Git Product logo

pokebot-python's Introduction

NOTE: NOT TAKING ANY FEATURE REQUESTS OR REQUESTS FOR ADDITIONAL MECHANICS

I made this bot 5 years ago (Jan 2018) for me and a couple of friends. We no longer use this bot, hence this project is now just used as a means to exercise my current coding knowledge and as a means to learn. It was in a rough shape from when I started years ago, and as of 01/01/2023, I'm releasing an updated version with an improved codebase. There may be questionable design choices, such as the use of JSON files as storage, but from when I started 5 years ago, I didn't need a more advanced storage to use between 3 other friends and I as performance was never affected by how often these files were read/written. Later down the line I might implement the use of one, and I've setup the scenario to do so with the existance of the DAO files underneath database/, but no guarantee given my time and interest with the project.

That being said, this bot is meant to be used within a small discord server and may have its performance impacted in bigger server(s). While I'm not taking anymore feature requests, I am taking any bugs and issues that occur with the bot. I don't have a lot of time, though should I have any, I may investigate these bugs and put up a fix for them.


Description

Made with Python 3.9 and the Python Discord API Wrapper while pertaining to Flake8 standards with <120 characters per line of code.

This bot focuses on the catching aspect that was developed by the original PokéBot. While it contains the similar style of catching pokemon from the original, I've added more tweaks of my own. You can hatch and exchange pokemon, and even get lootboxes containing pokemon. You can also customize the bot to have events.

To see info on the bot configs, see the config page.

To read more on the bot's features, see the command page.

For information on current events, see the event page.

Installation

To setup the bot,

  1. Run pip install -r requirements.txt

  2. Enter your discord bot token into the token field of bot_config.json

  3. Run the bot with python bot.py or python3 bot.py

For more options for configuration, see the config page.

Pull Requests

I'm not taking any pull requests unless these pull requests pertain to improving the current code.

Disclaimer

This in no way is meant to compete with the official PokéBot. This renedition was purely made for my own benefit and for my own server. Pokémon assets belong to Wonder & Toast and can be found here. Pokéball assets that were not included in this repo, can be found here.

Credits to nintendo wikia for the ultra beasts pictures.

pokebot-python's People

Contributors

kodycode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pokebot-python's Issues

Admin Cmds

Can U Add A Cmd Where Admins Can Like Gift Gifts To Members? Or Give Out Tokens? @kodycode

commands not working

when i set everything up i get this error
discord.ext.commands.bot: Ignoring exception in command None
so i need help plz

How to gift

Hi I have the bot all set up and I'm just wondering how do I give a gift to someone and if anything needs to be put in the gift list

cog error

Failed to load cog manager
ExtensionFailed: Extension 'cogs.cog_manager' raised an error: TypeError: cogs must derive from Cog
Failed to update game status. See error.log.

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.