lewis-bot
Prerequisites
Create an application in Discord's developer portal. You need to add all the Intents and permissions.
Then create a link in OAuth2 section and make sure that bot
and application.commands
are checked, otherwise the bot won't work correctly. (Make sure that the bot has the ADMINISTRATOR
permission)
Thing that you need to know before contributing:
- Typescript
- Node.js
- Discord JS
Not required, but good to know:
- REST API
- Mongoose
Installation
The official bot for Lewis Menelaws (TectTok). You need to know the basics of programming before contributing. Otherwise, you probably will have many issues with the bot.
To get started, you need to first install all the dependencies.
npm install
After that's done, you need to install Node.js, Typescript as a global module, and ts node for TypeScript.
npm install -g typescript
npm install -g ts-node
Install node JS here. Download the latest version.
Usage
First rename the file called .env.template
to .env
, that will hold all the base information for the bot. You should keep this information private at all times. The file should look like this:
# Ignore these symbols <>
TOKEN=<token>
CLIENT_ID=<client_id>
GUILD_ID=<guild_id>
base.ts is the file to store all the channel, emoji, and role IDs.
And now run ts-node index.ts
to deploy and run the bot via REST API.
Most active contributors
Founder/owner: LukaHietala (Pix.#0001) - Github
D3FUZED (papernecklace#7776) - Github