GithubHelp home page GithubHelp logo

god-father-xuez / switchblade Goto Github PK

View Code? Open in Web Editor NEW

This project forked from switchbladebot/switchblade

0.0 0.0 0.0 3.73 MB

The open source Discord bot that solves all of your problems.

Home Page: http://switchblade.xyz/

License: MIT License

JavaScript 100.00%

switchblade's Introduction



Multi purpose Discord Bot made using discord.js, focused on quality, organization and enjoyability.

Discord Server License Travis CI Build Status Known Vulnerabilities
Vote on DBL

The open source Discord bot

Switchblade is a free and open source solution to all of your server managing problems, built from scratch with code organization and quality in mind. Want some music for your server? We've got you covered. Maybe you want a good anti-spam solution? We've got you covered. How about economy? Well, you probably got it by now. Like the idea? Click here to invite Switchblade to your server.

Contributing

You want to help? Great! There are many ways to do it:

Contribute with code: Setup a development environment, make some changes, and open a pull request.

Contribute with ideas: Have a great idea, but don't know how to code (or maybe you're just too lazy to do it)? No problem! Open an issue so we can talk about your awesome idea.

Contribute by hunting bugs: Just like Discord, we have an awesome team of bug hunters. You can join our server and ask for the Bug Hunter™ role. After that, you can start hunting bugs and reporting them.

Contribute with translations: Switchblade's translation is Crowdsourced too! Click here to learn more.

Branching

New Pull Requests should be made upon the dev branch, where Switchblade Canary, our private testing instance, runs. Every two weeks, we push code from dev to master, where the production instance runs.

Setting up a development environment

For this guide, we're assuming that you already have NPM, Node and Windows Build Tools installed.

0. Fork the repository (You don't have to do this if you're part of our organization)

1. Clone your fork and checkout the dev branch

git clone https://github.com/<your username>/switchblade
cd switchblade
git checkout dev

2. Install all the dependencies with NPM

npm install

3. Create a file named .env inside of the bot's folder and add all of the required environment variables to it.

In the end, your file should look like this:

DISCORD_TOKEN=NDQ0OTU4ODkyMzgwNzgyNTky.Dhxlog.2VyI9uaXRO0t36vMsH5wVDjqpfk
PREFIX=s!

4. Run the bot!

npm run start-dev

The start-dev script loads the variables from .env into the process, and automatically restarts the bot when you make changes to the code.

Happy hacking!

switchblade's People

Contributors

doges avatar davipatury avatar pedrofracassi avatar loggame-hu-dean avatar perronosaurio avatar rodolfoam3 avatar maxrumsey avatar lireoy avatar lblend avatar doctorvwa avatar herogamers avatar nirewen avatar kaikecarlos 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.