Git Product home page Git Product logo

floxbot's Introduction

floxBot

A discord bot in node JS!

Installation

  • Clone the repository.
  • Create a config.json file:
{
    "TOKEN" : "secretDiscordTokenString"
}
  • Run npm update command to update the necessary node modules.
  • Install ffmpeg so the ytdl-core library works.

Starting floxBot

To run floxBot locally, use this command to start the node app:

node index.js

To run floxBot on a server you might want to use something like forever to keep the bot up and running. The command would then look like this:

forever start index.js

Commands

floxBot processes all messages in text channels he has access to. Messages prefixed with ! indicate a command.

Command Description
!ban floxBot will ban the first person mentioned after the command.
!hello Say hello to floxBot.
!help Get a list of all commands.
!kick floxBot will kick the first person mentioned after the command.
!ping Play ping-pong with floxBot! Or just see if he's online.
!play Give floxBot a youtube link and he will play the audio in the voice channel you are in.
!skip If floxBot is currently playing a song, skip it and play the next one.
!stop Have floxBot stop playing songs.

floxbot's People

Contributors

radabaugh avatar

Watchers

 avatar

floxbot's Issues

Update README.md

The README is blank and doesn't help with the installation or use of floxBot.

Bot does not respond to a prefix.

Use "!" to signal the beginning of a command rather than responding to anyone who says "hello" regardless if they are talking to the bot or a person.

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.