GithubHelp home page GithubHelp logo

errorline99 / splitscreenme-discordbot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from splitscreen-me/splitscreenme-discordbot

0.0 0.0 0.0 112 KB

SplitScreen.Me - Discord Bot ๐Ÿค–

Home Page: https://www.splitscreen.me

JavaScript 99.57% Dockerfile 0.43%

splitscreenme-discordbot's Introduction

SplitScreen.Me Discord Bot ๐Ÿค–

SplitScreen.Me Logo

CI/CD Swag Love

SplitScreen.Me is an open-source project attempting to make any game playable, in splitscreen mode.

Visit our website - Join our Discord

About the bot ๐Ÿค–

The Bot is created using basic EcmaScript (JavaScript) code, interpreted by NodeJS, along with the powerful Discord.js module.

Behind the scene, it requests to the public SplitScreen.Me Hub API using Axios.

Feel free to contribute & help us build the most amazing bot for splitscreened games ever !

How to use ๐Ÿ’ป

The bot is public, anyone can invite it to its own Discord server.

Parameter types

Available parameter types Explanation
< > Optional parameter
[ ] Required parameter

Commands

Command name Aliases Usage Example Usage
help cmds, commands, halp ${prefix}help {command_name} Shows a list of all available bot commands
handler h, script ${prefix}handler Borderlands Return handler for the specified game.
create c, make ${prefix}create [engineName] <@user> Creates the handler for a chosen GameEngine. For a list of supported Engines, use ${prefix}create options
discord d, disc ${prefix}discord Return invite link to the Nucleus Coop Discord
hubstats ${prefix}hubstats Return stats from the hub

Examples

Commmand Screenshot
-help -help
-h left 4 dead -h left 4 dead
-c diesel -c diesel
-d -d
-hubstats -hubstats

Building ๐Ÿšง

Create and invite Discord bot/application

To run the bot locally, you need to create a Discord bot through the Discord developer portal, and invite it to your server. Watch the first 2 minutes of this video, to see how: https://youtu.be/JMmUW4d3Noc

Adding DISCORD_BOT_SECRET_TOKEN

From the Discord bot you just made, copy the token for your bot into the value field of DISCORD_BOT_SECRET_TOKEN in settings-development.json. To select which channels you want the bot to access, copy the channel id's into the DEVELOPMENT_CHANNELS array, in the same file.

Running locally

to run the bot, run this in the terminal

Development:

yarn install
yarn run start:dev

Production:

yarn install
yarn run start:prod

splitscreenme-discordbot's People

Contributors

snailedlt avatar r-mach avatar sunnysonx 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.