This is code created, and put into the public domain to help people with their projects and learn.
You can use it to manage your own free host on mofh network.
Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine. Website
A powerful library for interacting with the Discord API. NPM Website
To get install all needed packages, use npm install
. You must put a Discord bot token in config.json
and make sure to rename dotenv
to .env
and enter your mofh username and key in the .env file. Once you've done that make sure to whitelist the IP on mofh. You can use npm start
to start the bot.
Do not put a user account token in
config.json
. Selfbotting is against Discord's Terms Of Services and you risk account termination by using one.