[go: up one dir, main page]

Skip to content

siddhu33/discordle

Repository files navigation

discordle

CI Status

Discord Bot to play a wordle-like game with users.

Image


Requirements

  • npm of some kind installed.

  • .env file with discord token DISCORD_TOKEN populated.


Installation

npm install -g yarn
yarn install
yarn start

Current Commands

Command Description
@Discordle !ping Ping server to see if it is up. Returns pong.
@Discordle !start [length] Start a game of length length. Will pick out a word from the corpus file, corpus.txt.
@Discordle !state Get the current state of a game, if one is currently being played in the channel.
@Discordle !guess [word] Guess the word described by word. Will increment the guesses counter.

Feature Ideas

Pull requests very welcome for any of these!

  1. State management of some kind ( Redis, DB, file, etc ) which can be loaded after restart.
  2. Store grid of previous commands and results to see every guess made so far.
  3. Set a limit of turns for a given game and create a loss condition if a limit is set.
  4. Performance profiles & Sharded bot for improved performance
  5. Custom images instead of emojis of letters with background colour depending on state.

NB - Many many thanks to the developer of Wordle for inspiring this bot!

About

Discord Bot to play Wordle

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published