Skip to content

benny123tw/Decrypto-Game-Bot

Repository files navigation

[Decrypto] Decrypto解碼遊戲

Decrypto - Discord Game Bot with Node.js

Playing decrypto board game on discord!

All the system is based on Decrypto Game Rules.

中文说明 | Demo Video

To Do

  • Automatic create 2 text channels and 2 roles for game.
  • Normal and random grouping.
  • Embed keywords and pin it.
  • Sending answer will automatic add reaction on it. (Correct ✅ or Incorrect ❌)
  • Design the game system based on original Game Rules.
  • Scalable keywords (insert, view, edit, delete)
  • Assign encrypter to palyer every round.
    • random with repeat
    • random with no repeat (loop)
  • Encrypter sending their descriptions to bot(PM) will store the descriptions data and passing to both game text channels.
    • DM execute commands (DM commands handler)
  • Check if encrypter's description is repeat.
  • history commands list all descriptions.
    • show current descriptions
    • show specific team descriptions
  • Create 3 voice channel. 1 for players who are join. 2 for team.
  • Move palyers to voice channel.
  • play bgm in round end.
  • Anti-cheat(Current encrypter not allow to tpye anything).
    • If encrypter type any words it will reset the codes and sending message to both game channels "@username cheating".
    • Current encrypter will add temp muted role. that means can't type and speak in their team channels.
  • DM Help center.
    • sending cusotm DM to user with bot (id, content).
    • navigation guide.
  • Carrer
  • Economic system.
    • Bank system (deposite and draw money)
    • Player balance
    • Bet
  • Language (extensible language)
    • en-us
    • zh-cn
    • zh-tw

Requirements

  • Node.js
  • Discord account
  • MongoDB account and SRV
  • 4~8 players at least (current version doesn't support 3 players)

Installation Steps

  1. Register new bot with Discord Developer Portal
  2. Clone repo
  3. Run npm install
  4. Add Discord Bot credentials in a .env file
  5. Run npm start or node index.js
  6. Interact with your Discord bot via text messages on Discord

.env file template

TOKEN_[BOT_TAG]=your-bot-token
MONGODB_SRV=your-mongoDB-cluster

License

This software is published under the MIT license

About

Playing decrypto board game on discord!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published