Giter VIP home page Giter VIP logo

hector's People

Stargazers

 avatar

Watchers

 avatar  avatar

hector's Issues

Better style and more commands

Make a folder named cogs and put the files in there since it's easier for the people who see this repo, and you should make more commands since there aren't many of them

Clean up rp.py

rp.py is currently a mess. The open() command alone is 119 lines long, and much of that code could be reused if it was moved into functions.

This issue will be resolved when rp.py has been re-structured to improve readability and code re-usability.

Move emojis into mod.core.CONSTANTS

Emoji reactions are currently scattered about the project - some inserted using \U, some simply pasted directly into the code. This needs to be fixed.

This issue will be resolved when all emojis are replaced with calls to CONSTANTS.REACTION_X, where X is the desired reaction type.

Automatic character text replacement does not support non-Latin alphabets

The current method for detecting whether a message sent to an active RP region is in-character or out-of-character is to treat any message which does not start with a Latin-alphabet letter or number as an out-of-character message. This means that messages sent in non-Latin alphabets will never be auto-replaced.

Move error-handling into its own file

Error-handling code is currently in the main hector.py file. This clutters up the main file. The code should instead be moved into its own file, `mod.core.errors', and loaded into the bot like the other core modules.

This issue will be resolved when all error-handling code (i.e. generating embeds, handling error messages, and updating the messages in response to reactions) is done in mod.core.errors instead of in hector.py

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.