the model is in the link is out of sale
I imagine this is inspired by [V2] Discord-To-Roblox Ban bot | 100% Free, End User Friendly & Stable! - #179 by RenanMSV and DisRo.
What was cleaned up in comparison to these modules that makes this better? Would love to see in-game announcements, being able to ban for certain durations, and a kick system with a warning shown to a player that’s being kicked.
Apologies should be on sale now!
Yes, if you’d like to suggest any commands or features I’m very open to them.
:shutdown reason – shutdowns all game servers with a given reason
:announce info-- makes a announcement in the game with a given info
I got the inspiration from [V2] Discord-To-Roblox Ban bot | 100% Free, End User Friendly & Stable! - #179 by RenanMSV .
If you do take a look at the source code of both you can see that my bot is more scalable, you are definitely able to add more commands of your own to the bot as It comes with a command handler. If you look at the other bot, and when it was updated it was 2 years ago meaning the code it uses is outdated since the packages have been updated to work with the changes in the Discord API.
Thank you for the suggestions! I’ll make sure to incorporate them in the coming update!
You could add a warn command too
Thank you for the suggestions, I’ll make sure to take them into consideration for the next update!
or maybe a command that shows all servers list with a job id and then a shutdown command that says you want to shutdown all servers or one server
First of all, you shouldnt be using .jsons for secrets at all. the dotenv module is for that.
second, you should be using slash commands instead. its much easier and better to use than chat commands.
three, do not hardcode a message for kicks and bans. instead, make them an argument.
and more.
well well well
Yeah, I agree with you. I was planning on switching it to an env file, while in was writing the bot I was thinking in a sense that you are hosting it on your on personal server like a RPI. I am planning to also incorporate slash commands in the next update. I’ll definitely add an option to add a custom reason but it will be defaulted to the message in the config
It would be amazing if you made it where you could run custom commands in servers (custom code) from the bot
By that do you mean to create your own discord command for the bot? If so the premade command handler it comes with is pretty easy to use.
Might need a tutorial on hosting this, not going to lie. Getting Missing Script: “start” whenever I try to run the script via Repl.it using npm run start
Run npm update
to update all the packages as repl.it sometimes messes that stuff up, then use node index.js
instead of npm run start
to start the bot.
Thanks for this. Managed to get the bot online with this.
However, none of the commands work for me except ;managers - and even that gives me a “Failed to run command, please try again later.” response.
This is probably due to my user error. Any troubleshooting tips?
I did come across this while I was attempting to run this on my side. I’m not really sure why that’s happening on repl, but I’m guessing it’s because the virtual server is not able to handle the usage of the bot. However, it was fixed after I turned off the bot and turned it back on. I really recommend using some other service to host the bot.
Getting the same issue with Heroku.
UPDATE | 10/26/2022
I highly recommend migrating to the new version, as it’s mucher safer and fixed some commands bug along with permissions.
- Moved all important credentials to a
.env
file. It’s much more secure than using a.json
file to store them. Yes, the tutorial has been updated to help you work with the new files. - You can now add your own reason when you are using the
ban
&kick
commands! Don’t want to add a reason? Perfectly fine it will default to the reason that is in yourconfig.json
. - Fixed a few errors & handling
What to expect in the future?
- Slash command support
- New Commands
- Global Announcement & Server Specific Announcements
- Softshudown
- Warn
As always if you have any questions or recommendations, please make sure to comment them or message me directly.
Let’s take this to DMs! Since this is adding a lot of clutter to the thread. Add my discord frames#4888.