Skip to content

SirLefti/word_chain_bot_indently

 
 

Repository files navigation

Word Chain Bot Indently

A word chain game bot that originated from the Indently Discord server!

🥳 🎊 Announcement: This bot is now PUBLIC and can be added to any server! 🥳 🎊

Add the bot via this link: https://discord.com/oauth2/authorize?client_id=1222301436054999181

Where is the public version of the bot hosted?

The bot instance used in the Indently server is hosted on bot-hosting.net. The free node they offer at zero cost works excellent compared to free nodes offered by other hosts. A premium node can also be purchased at a very cheap rate, which is what we use.

Support Server

For questions, support, suggestions or to just play the game and hang out with some cool people, you are welcome to join our support server: https://discord.gg/yhbzVGBNw3

What is the word chain game?

It's a simple game where you have to enter a word that starts with the last letter of the previous word. You cannot enter two words in a row, so this is a multi-player game. The aim is to make the chain as long as possible. Entering a wrong word or a word with a typo breaks the chain and you start from square one again.

Required environment variables

To host the bot yourself, you will need to set the following environment variables in .env:

  • TOKEN="xyz" : You will get this from the Discord Developers website under the Bot section after creating a new application.
  • ADMIN_GUILD_ID="1234" : The ID of the server that you want to designate as the admin guild, where admin commands like /prune can be run.
  • DEV_MODE="True" or "False" : Optional flag to prevent the bot from automatically syncing the slash ccommands every time it restarts. Set it to True if you are testing the bot, and sync manually via the /sync command. Can be removed in the production version.

Or maybe just use the public version to keep things simple, unless you are developing with the intention of contributing to the codebase.

Credits

  • Base code for main.py taken from the repo Counting Bot for Indently. Thanks to @guanciottaman for making the codebase available under the MIT License!
  • Base code edited for the word chain game by me, Wrichik.
  • Karma system and multi-server support designed and coded by @SirLefti.
  • Basic idea of the word chain game and the use of Wiktionary API is inspired by the (now discontinued) bot Literally.

Who or what is Indently?

This bot was created for the Indently Discord server, and is owned by the Indently Bot Dev Team. Federico, the founder of Indently, has kindly allowed us to keep the name of his company in our bot's name. (By the way, if you are keen to learn python and interact with fellow programmers, check out the Indently Discord linked above!)

About

The Indently Discord server's very own word chain bot!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.4%
  • Mako 0.6%