Coder Social home page Coder Social logo

joelcancela / el_risitas_discord_bot Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 2.0 589 KB

Just another meme bot for Discord. #Issou

License: MIT License

JavaScript 95.43% Dockerfile 3.25% Shell 1.32%
nodejs discord-js discord-bot skynet-labs meme javascript risitas

el_risitas_discord_bot's Introduction

El Risitas Discord Bot

Just another meme bot for Discord.

How to use

  • Get a Discord token application here, create a new app and copy your token into the token value field of authTO_EDIT.json.

  • Rename authTO_EDIT.json to auth.json

  • Install Node.js dependencies and launch the bot

npm install
npm start
  • Invite the bot to your Discord (You must have the Manage Server permission) here.

  • The bot can be hosted using docker :

docker build -t <yourname>/el_risitas_bot .
docker run -d <yourname>/el_risitas_bot

Available commands

  • !ah - El Risitas will bring his friend Denis Brogniart.
  • !help - Lists all available commands.
  • !ping - Ouch.

Risitas famous catchphrases

  • !atahoy
  • !banador
  • !chancla
  • !cocinero
  • !issou
  • !risitas - Risitas random laugh.
  • !yatangaki

el_risitas_discord_bot's People

Contributors

joelcancela avatar nassimbounouas avatar

Watchers

 avatar  avatar

Forkers

2312ruben

el_risitas_discord_bot's Issues

Fix permissions ?

(node:1) UnhandledPromiseRejectionWarning: DiscordAPIError: Missing Permissions
at item.request.gen.end (/usr/src/app/node_modules/discord.js/src/client/rest/RequestHandlers/Sequential.js:71:65)
at then (/usr/src/app/node_modules/snekfetch/src/index.js:215:21)
at
at process._tickCallback (internal/process/next_tick.js:118:7)
(node:1) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 8)
(node:1) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
/usr/src/app/bot.js:88
if (responseEntity.member.voiceChannel) {
^

TypeError: Cannot read property 'voiceChannel' of null
at playSound (/usr/src/app/bot.js:88:31)
at Client.bot.on.response (/usr/src/app/bot.js:75:17)
at Client.emit (events.js:180:13)
at MessageCreateHandler.handle (/usr/src/app/node_modules/discord.js/src/client/websocket/packets/handlers/MessageCreate.js:9:34)
at WebSocketPacketManager.handle (/usr/src/app/node_modules/discord.js/src/client/websocket/packets/WebSocketPacketManager.js:103:65)
at WebSocketConnection.onPacket (/usr/src/app/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:333:35)
at WebSocketConnection.onMessage (/usr/src/app/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:296:17)
at WebSocket.onMessage (/usr/src/app/node_modules/ws/lib/event-target.js:120:16)
at WebSocket.emit (events.js:180:13)
at Receiver._receiver.onmessage (/usr/src/app/node_modules/ws/lib/websocket.js:137:47)

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.