Last Updated: 20210709 0851 (UTC+8)Β
DXC DSBot Project Update Aug`20
Disclaimer! - The Contents and Links are Outdated and is nolonger check for validity! Proceed at your own discretion!
Upgrading discord.js from version 11 to 12 requires so many changes... ("discord.js": "^11.6.4" >>> "discord.js": "^12.3.1") Due to that fixing all those output and message send lines are a pain in the ass. Hence there is a need to hub and do all the ridiculous module exports links.
Along the way, I found Heroku and proceeded to make use of its free service to deploy the bot script via Github - one of the many things that I have learnt/encountered in the past.
The last minute implementation of dotenv ('.env' - dot enviroment variables) and removal of token.json files is what made 0.2.3 move on to 0.2.4 - as the entire code is now free from token related files hogging the root directory, allowing more freedom in terms of flexibility. However, Heroku is just a stop, in a few months/years the Misc Bots might stay behind as legacy deployments, the Main Bot (@DXC Bot#4113) and Personal Bot (@Personal Bot#2367) will need to be able to start supporting server side reading and writing of files. As of now, any commands are global. Meaning regardless of where and when, how or what, any settings that people decide to put on a bot, will be changed/affected globally in all servers. Heroku is unable to support that as it is after all a free service. That is when, Hyper V on the Windows 10 Pro PC is still quite relevalent.
Extended support for the <>help command is being planned and will be implemented in the support site. With all those google classic sites switch to new sites going on, I hope by then at least one page will be up. Just take note that, in classic sites are http, the new sites will make those sites https
Today is the launch of version 0.2.3-2008.18 for closed development of 2 discord bots, both having similar codes, with one huge difference. One for public. One for personal. All these will not have been possible without the guide and assistances of the forums from the node js, discord js community with regards to version 11 of discord js. Building the script on one computer then deploying it to a linux VM on a Windows 10 Pro machine with Hyper V enabled. What that was a dream is now the first step of reality. I present to you, @DXC Bot#4113 and @Personal Bot#2367 of the DXC network.
These bots will not have public invite links like all the other famous bots. Development is built with the bots not tied to the script. Meaning with only a few steps, you could be running your own bot provided you obtain the files required to run it. Base development and testing done using nodemon, deployment and running on servers uses pm2. If development reaches a certain level of standard capable of competition against at least comparable to a dozen or more existing bots, I would consider releasing my codes on Git for all to run. Just make sure to credit this page, only if you use 100% of the code that you are running. Plus, there will be no way of finding out unless I go to your physical house and crack open your computer/server. So who cares?
For imformation on what I am talking about and you have a discord account, you may visit here. I will try to keep things updated as much as possible, since the whole project started in 2020, August, 7th. And that's only less than TWO weeks ago