What does this do?
This bot allows users to count their members in their group, set group member goals, and log changes of the group count in a log channel
Disclaimers
The tutorial that I’m going to show in this post will be if you are locally hosting
What does this bot look like?
logs (Addition) - https://gyazo.com/4ad6eccb0e06a952bbfb29598a8b28d0
logs (Subtraction) - https://gyazo.com/b1c4cf68771b6ca90658e6a58c63f321
logs (Goal Reached) - https://gyazo.com/b4e46ef387f009f9b07c7df6998ae33e
help - https://gyazo.com/f517097057637db5a609c8c67fcd8430
setgoal - https://gyazo.com/20b4290425bd8946b308af1aef4927ad
setgroup - https://gyazo.com/1ff32edd4a7e5acd8beec3c9a0a9a8ac
setchannel - https://gyazo.com/ff0d55b98852f9b38e93229c532a2818
getinfo - https://gyazo.com/cca517901957aef919586032080e6059
How do we (you guys) get it?
Just follow the steps below!
Step 1
Download the install script by doing the following things
Open Command Prompt
Type 'cd Desktop'
Type 'curl https://raw.githubusercontent.com/zachariapopcorn/group-counter-bot/main/Install.bat -O Install.bat'
You can close Command Prompt as it’s no longer needed
Step 2
Go to your desktop. There you will see a new file was created on there named ‘Install.bat’ (or ‘Install’ if you have the extensions disabled). Once you find that file, run it. This will create a new directory for the install script to load the core files and subdirectories
Step 3
After the install script finished installing, open the index.js file in the directory that it made. Once opened, input the following information
token = The token (or login) the bot will use to login to Discord (read this if you don’t know how to get your Discord bot token)
prefix = The character that the bot listens to for commands
Step 4
Power on the bot by using the run.bat file
Step 5
Configure the bot using the set commands
<prefix>setchannel <channel id or mention>
<prefix>setgoal <number>
<prefix>setgroup <group id>
Step 6
Enjoy!
Q-A
Q: What do we do if we get a not a db error on sqlite?
A: Go to the .data folder, delete the db.sqlite file, and then remake it manually
Conclusion of post
Thanks for reading my post on my group counter bot. If you do like this, you can show your kindness by liking this post, or maybe spreading this post, that’s up to you. If you wish to add something to this bot, make a PR or add a request on the replies, I’m all ears. If you wish to look at some more posts that I’ve made, go to my portfolio. Anyways, good day and good bye.