Coder Social home page Coder Social logo

slappey's Introduction

Slappey

Slap together a Discord Bot project in seconds!

slappey-logo

What is Slappey?

Slappey is a cli tool that lets you generate a Discord.JS project (version 12 or version 11), in a matter of seconds.

Currently supports only JavaScript, but will support TypeScript soon.

Instructions

Install slappey by running npm install -g slappey on your terminal or Windows CMD. This will install slappey globally.

  • To create a project, type slappey, or simply type slappey new <name of project>

  • Follow the steps and enter your Bot Token and Prefix.

  • Once done, cd into your project by typing cd <name of project>

  • To run the bot, type npm run dev. This will run the bot using nodemon, you MUST have nodemon installed, otherwise, use npm run start

Generating Commands

  • Slappey allows you to generate commands into categories. You can type slappey and select Generate to generate a command, or slappey new command.

  • It will ask you for a name, and then a category. This will generate all commands in the src/commands folder, in the correct category.

Generating Events

  • You can generate events by running slappey new event, this will prompt you to select which events you would like to generate.

  • To select event(s), press space bar and use the up and down arrow keys to navigate. Hit enter when you're done and your event files will be generated in the src/events folder.

Will Slappey support TypeScript?

  • Soon

Will Slappey support Python?

  • Soon

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.