GithubHelp home page GithubHelp logo

00mjk / discord-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from serenityos/discord-bot

0.0 0.0 0.0 2.66 MB

Discord Bot for the Serenity Operating System Community ๐Ÿž

License: BSD 2-Clause "Simplified" License

TypeScript 100.00%

discord-bot's Introduction

This is the source for the SerenityOS Discord Bot.

Setup

The bot is written in TypeScript, nodejs and yarn are pre-requisites.

Then setup your environment:

$ git clone https://github.com/SerenityOS/discord-bot
$ cd discord-bot
$ yarn install
$ yarn build

Configuration

To configure the bot for local development you simply need to drop your discord bot token and guild ID in an .env file at the root of this project. The contents should look something like:

discord_token=<your-token-goes-here>
guild_id=<your-guild-id-goes-here>

See: https://www.writebots.com/discord-bot-token/

Now you can run yarn start:dev and the bot will startup, and then restart as you save changes to the source files:

$ yarn start:dev
[nodemon] 2.0.7 
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): src/**/*
[nodemon] watching extensions: ts,js
[nodemon] starting `ts-node ./src/index.ts`
Buggie bot has started

Running Tests

There are no tests yet, please help add some.

Credits

This was originally based off of the following discord bot template: https://github.com/MidasXIV/hive-greeter

discord-bot's People

Contributors

bgianfo avatar davidot avatar dependabot[bot] avatar dexesttp avatar gunnarbeutner avatar idanho avatar kleinesfilmroellchen avatar leap0x7b avatar linusg avatar mattco98 avatar mrkct avatar networkexception avatar possiblyashrub avatar sin-ack 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.