https://github.com/unusualabsurd/adv-rewrite
Rewrited Version of my Discord Bot ADV
https://github.com/unusualabsurd/adv-rewrite
Last synced: about 1 year ago
JSON representation
Rewrited Version of my Discord Bot ADV
- Host: GitHub
- URL: https://github.com/unusualabsurd/adv-rewrite
- Owner: UnusualAbsurd
- Created: 2021-11-02T05:24:02.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-11-04T11:10:41.000Z (over 4 years ago)
- Last Synced: 2025-02-09T17:43:28.538Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://discord.gg/mCNZ6Y4yd8
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ADV Bot Rewrite
### This is how you want to copy my bot 😎
## Package Setup
### Copy my github repo
```
git clone https://github.com/UnusualAbsurd/adv-rewrite
```
### Enter Folder
```
cd adv-rewrite
```
### Install Packages
```
npm i
```
## Settings Setup
### Environment Variable
> Change `example.env` to `.env` and then enter the values below
```env
token= DISCORD_BOT_TOKEN
mongodb= MONGODB_SRV
cx= GOOGLE_CX_KEY
google= GOOGLE_JSON_API_KEY
```
> Change `config.example.json` to `config.json` and then enter the values below
> Changes: `TEST_SERVER_ID` : Discord Test Server || `DISCORD_BOT_ID`: ID of your application
```json
{
"testGuild": "TEST_SERVER_ID",
"invite": {
"default": "https://discord.com/api/oauth2/authorize?client_id=DISCORD_BOT_ID&permissions=535750376663&scope=bot%20applications.commands",
"admin": "https://discord.com/api/oauth2/authorize?client_id=DISCORD_BOT_ID&permissions=8&scope=bot%20applications.commands"
}
}
```