{"repo":"member-counter/bot","free":true,"listed":false,"github":"https://github.com/member-counter/bot","clone":"git clone https://github.com/member-counter/bot.git","description":"Member Counter is a Discord bot which lets you display counts and other dynamic information in a channel name or topic","language":"TypeScript","stars":132,"topics":["discord","bots","typescript","multilanguage","mit-license","utility","member-counter","bot","online-players","mongodb"],"license":"MIT","category":"chat-messaging","readme_excerpt":"Member Counter Add this bot Website Translation Project Documentation Member Counter is a Discord bot which lets you easily display counts and other dynamic information in a channel name or topic, to get started, add this bot to your Discord server and run /setup server Self-host Read this guide to setup this bot using docker: https://docs.membercounter.app/readme/custom-bot/self-hosting-the-bot Development environment Software requirements - Git - NodeJS 20 - Docker Clone the bot and install dependencies Configure the app Open .env with a text editor - Set COOKIE SECRET to something secure with at least 32 characters (or just add one more character for development purposes) - Set DISCORD CLIENT ID , DISCORD CLIENT SECRET and DISCORD BOT INSTANCE TOKEN with your development bot credentials - Update DISCORD OAUTH2 REDIRECT URI as needed in the .env file and at the Discord developer portal ( OAuth2 redirect URL ) - Set DATABASE URL to mongodb://localhost:27017/memberCounter?replicaSet=rs0&directConnection=true Save this file as .env - Set REDIS URL to redis://localhost:6379 - Set NODE ENV to development Remember that you can't hot-reload this file, you must fully restart the app to apply new changes Starting the bot and website Now you can start editing the code, when you save a file the app will be reloaded automatically Do a pull request Now just create a pull request to the dev branch, and we will review it as soon as possible Happy coding!","default_branch":null,"files":null,"tree":[],"storefront":"/r/member-counter","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/member-counter/bot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}