- A Discord Bot Token how to obtain a bot token?
- Enabling "MESSAGE CONTENT INTENT" & "PRESENCE INTENT"
- NodeJS higher than v16.20.2 Check NodeJS versions.
Warning
Using NodeJS below "v16.20.2" might cause unexecpted errors. Therefore, it is better to upgrading your Node version to the latest to avoid errors.
# cloning the repository.
> $ git clone https://github.com/rit3zh/Discord-Lofi
# Navigating inside the folder.
> $ cd DiscordLofiBot
# Installing all the required dependencies.
> $ npm install --save # using yarn? --> yarn
Note
Once all the dependencies are installed, follow the configuration steps listed below. Once everything is completed, use the command npm run dev
token=YOUR_DISCORD_BOT_TOKEN
guildId=GUILD_ID
#Mongoose Connection URI is optional.
connectionURI=MONGOOSE_CONNECTION_URI
inviteURL=YOUR_BOT_INVITE_URI
Caution
Please make sure to rename ".env.example" to ".env" after filling in all the required information.
Important
The website is still in under construction. However, you are feel free to customize the website accordingly to you.
# Navigating to the website folder.
cd website
# Installing all the mandatory dependencies.
npm install --save
# Starting the development server.
npm start # using yarn? --> yarn start
Port | Number | Default |
---|---|---|
Number | 3000 |
3000 |
- The initial port is 9000, the development server will be up on now: http://localhost:3000
- Fork this repository
- Clone your fork: git clone https://github.com/rit3zh/Discord-Lofi
- Create your feature branch: git checkout -b something new
- Stage changes git add .
- Commit your changes:
npm run commit
orcz
- Push to the branch: git push origin something new
- Submit a pull request.
See CHANGELOG.md for details about the changes in each version.