Giter Site home page Giter Site logo

discord-pugbot's Introduction

discord-pugbot

NPM version NPM downloads Dependencies

Installation

  1. Install nodejs and npm
  2. Run npm install -g discord-pugbot
  3. Navigate to a folder where you would like to store configuration for the bot.
  4. Run discord-pugbot --init
  5. Go to https://discordapp.com/developers/applications/me/create
  6. Fill in the name & avatar (if you like)
  7. Create Application
  8. Create a Bot User
  9. Copy the bot's Client ID
  10. Invite the bot to your server https://discordapp.com/api/oauth2/authorize?scope=bot&permissions=8&client_id=<Client ID>
  11. Press click to reveal next to Token and copy it
  12. Open config.js and paste the Token
  13. Configure the bot to your liking
  14. discord-pugbot --run

discord-pugbot's People

Contributors

awpteamoose avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

discord-pugbot's Issues

uws 0.12.0 not in npm anymore

root@pugAMS:~# npm install -g discord-pugbot --production
npm ERR! code ETARGET
npm ERR! notarget No compatible version found: [email protected]
npm ERR! notarget Valid install targets:
npm ERR! notarget 0.14.1, 0.14.3, 0.14.4, 0.14.5
npm ERR! notarget
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'discord-pugbot'
npm ERR! notarget

Crash on connection problems

Error: Uncaught, unspecified "error" event. ([object Object])
    at Client.emit (events.js:166:17)
    at WebSocketConnection.onError (C:\Users\USER\AppData\Roaming\npm\node_modules\discord-pugbot\node_modules\discord.js\sr
c\client\websocket\WebSocketConnection.js:357:17)
    at process.nextTick (C:\Users\USER\AppData\Roaming\npm\node_modules\discord-pugbot\node_modules\uws\uws.js:80:19)
    at _combinedTickCallback (internal/process/next_tick.js:73:7)
    at process._tickCallback (internal/process/next_tick.js:104:9)

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.