Coder Social home page Coder Social logo

ctsstc / coding-yabe-sei Goto Github PK

View Code? Open in Web Editor NEW

This project forked from academy-of-animu/coding-yabe-sei

0.0 0.0 0.0 7.17 MB

A multi-purpose discord bot that has, moderation, fun, games, and learning commands!

License: MIT License

JavaScript 99.91% HTML 0.09%

coding-yabe-sei's People

Contributors

canarado avatar cremetv avatar ctsstc avatar darkopendragon avatar dependabot[bot] avatar illusionman1212 avatar memesenpai avatar rohnjohnson avatar saidg23 avatar

Watchers

 avatar

coding-yabe-sei's Issues

ENV / Config Clean Up

It might be good to separate required vs optional environment variables out in the env template as well as the configuration.js file.

There could be separate variables in the Configuration that get merged into one [use spread operator].

Just comment out sections for the env template.

ready.js Channel Boot Message + ENV Vars

Acceptance

  • If the channel cannot be found handle the failure
    • Currently it throws a deprecation warning about not handling failed promises on client.channels.get.
  • Convert config.json to config.js this will allow dynamic assignment such as env vars with defaulting.
  • The boot message should use an environment variable to use to get the channel.
  • Move server specific configurations into a centralized configuration.
  • Utilize environment variables for server configuration.
  • For now default to current values until later determined to change.
  • Pull version from package.json into config.js

Breaking Changes

  • Moved: botVersion, it is now defined in configuration.js which pulls from package.json
  • Deletes: config.json in favor of config.js

Decorated Member?

For some of the mod commands it would be nice to have a decorated member that adds the following methods:

  • isDev
  • canManageGuild

This allows us to abstract some of the logic from the mod commands out into a separate class. This should result in a testable class, and more consistency across mod commands.

Remove pokemon json files

I'm sure there's some npm package we can pull in as a dependency so we can remove these raw files from the repo's code base; they might as well be binary files. Plus an external dependency can update overtime with additional data too which is nice.

dotenv

I would like to be able to set environment variables while developing via a .env file.

Update Node Version

Acceptance

  • Update node version to the latest lts.
    • Current LTS: v10.16.0
  • Add nvmrc

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.