Coder Social home page Coder Social logo

codenames-bot's Introduction

codenames-bot

๐Ÿ‘ Thank COVID-19 for making me update this bot. It's now compatible with the latest version of discord.js ๐Ÿ‘

owner

A fully automated discord bot for playing the award-winning party game codenames.

show

How To Use / Commands

Do -tutorial to see the tutorial. There everything is explained in detail.

GameMaster = The person who created the lobby (AKA the person who did -configure)

Command Description Permissions
help Get help! N/A
game Check the game in this channel N/A
tutorial Check out the tutorial N/A
gamemodes See all gamemodes N/A
configure Configure a lobby in this channel N/A
join Join the game in this channel requiresGame
leave Leave the game in this channel requiresGame
spymaster Become the spymaster for your team requiresGame
rng Randomize the teams and spymasters requiresGame, requiresGameMaster
start Starts the game in this channel requiresGame, requiresGameMaster
stop Stops the game requiresGame, requiresGameMaster
clue Give out a clue to your teammates requiresGame, requiresTurn, requiresSpymaster
guess Guess words requiresGame, requiresTurn
endturn End your turn requiresGame, requiresTurn
givemaster Give another player game master. requiresGame, requiresGameMaster

Self-Hosting

Requirements

  • A Virtual Private Server (VPS) or a website where you can host the bot. (glitch, heroku). The OS of the VPS doesn't matter.
  • Node.js version ^12.0.0 and up
  • npm
  • If your OS is windows, you need the Windows Build Tools. Install them via npm i --global --production windows-build-tools
  • If your OS is Linux/Ubuntu, you need the build-essentials package. Install it via sudo apt-get install build-essential
  • A discord bot application. Here's a good tutorial on how to create a bot application

How to run

  • Clone this repository
  • Inside the root folder of the repo, run the command npm i
  • Create a file in the root folder of the repo called .env. Inside it, paste the following:
TOKEN=token
OWNER=id

Where token is your bot's token, which you can get from the bot application page, and id is your own discord id.

  • Run node index in the root folder of the repo.

Bugs, Suggestions, Feedback

If you want to report bugs, suggest new features or just give feedback about the bot, submit an issue here and give it the appropriate label.

codenames-bot's People

Contributors

dependabot[bot] avatar googlefeud avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

codenames-bot's Issues

Bot offline

Trying to invite the bot to my server using the invite link in the description, but after inviting, the bot appears offline and is unresponsive to commands.

Bot Offline?

This looks like an awesome little bot for Game Night servers under the quarantine life.

Invited your bot, but it just shows as Offline and unresponsive. Tried commands:
-help
-tutorial
-configure

Game disbands abruptly + Words aren't automatically inputted

Just added the bot and we're getting these two issues:

  • The bot is abruptly disbanding the game at different stages of the game. It's also been spamming the disband message. Had to kick it because of that.
    Annotation 2020-04-24 214847
  • When starting a game, the board will be blank. We've had to manually enter custom words in order for it to work.
    Annotation 2020-04-24 214407

Bot Offline

I added you bot to my server but i am unable to set it up in a channel. It says it is offline.

Bot Not Responding, But Online

Hey there! I was just curious if there is something I am missing about getting the bot set up for my server, or if the bot is just not working in general. I have tried -help, -tutorial, and -configure, but the bot is unresponsive with all of them. Thank you!

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.