atikahe / wordl-bot

Bot to accommodate playing wordle on discord.

Home Page:https://dsc.gg/wordl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wordl Bot

Github CI HitCount

Play wordle on your discord server! Inspired Josh Wardle's puzzle game and other variations of it found on the internet.

How to use bot

Invite this bot to your server. Link goes here

Use / as prefix with these commands:

  • start to start a session
  • guess to make a guess

The game will start as wordle mode by default, the good old-fashioned, one five-lettered word. However in the future we will have dordle and quordle mode options to spice up the race.

How to setup

  • Git clone this repository
  • Setup token, client id, and guild id variable in env
  • npm install
  • node src/deploy-commands.js
  • And you're ready to go

How to test

  • Use npm run test:live command to run jest --watchAll in the background
  • Use npm run testcommand to run the test one time and generate coverage report

TODO

  • Keep track of winner
  • Check if word is english
  • Put guess evaluation to separate function
  • Isolate test cases

What to improve

  • Research command format (which format is most preferred)
  • Beta user

Resources

About

Bot to accommodate playing wordle on discord.

https://dsc.gg/wordl

License:Other


Languages

Language:JavaScript 98.9%Language:Shell 1.0%Language:Procfile 0.1%