Skip to content

Commit bb2fdc0

Browse files
authored
Merge pull request #35 from MDCYT/dev
Dev
2 parents bb89826 + 3cf678e commit bb2fdc0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+34934
-1719
lines changed

.env-example

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
TOKEN=Your_Bot_Token
2-
GUILD_ID=Your_Guild_Id
2+
BOTID=Your_Bot_ID
3+
OWNERID=Your_Discord_ID
4+
GUILD_ID=Your_Guild_ID
35
ENV=production #This will define if the slash commands are put or not
4-
MONGODB_URL=Your_MongoDB_URL
6+
MONGODB_URL=Your_MongoDB_URL
7+
APIURL="https://api.any-bot.tech/api/v1" #You can crate you own API if you want to, check https://github.com/MDCYT/Any-Api
8+
SUPPORTSERVERLINK= "https://discord.gg/efZ8bQYwnN" #This is the link to the support server
9+
SERVERLOGID=Your_Server_Log_Channel_ID #This is the id of the channel where the server logs will be sent
10+
BUGREPORTCHANNELID=Your_Bug_Report_Channel_ID
11+
FEEDBACKCHANNELID=Your_Feedback_Channel_ID

README.md

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@
3636
- [Installation](#Installation)
3737
- [Editing](#Editing)
3838

39-
**NEW MUSIC SYSTEM**
39+
**NEW ANTIPHISHING SYSTEM**
4040

4141
<p align="center">
42-
<img src="./README/music.gif" width="80%"></p>
42+
<img src="./README/phishing.gif" width="80%"></p>
4343

4444

4545

@@ -59,11 +59,14 @@ I am [**Any Bot**](https://top.gg/bot/733728002910715977), a multifunctional Dis
5959

6060
# Features
6161

62-
The Bot has more than 190 commands and 13 categories with which you have a variety of useful and fun commands.
62+
The Bot has more than 190 commands and 16 categories with which you have a variety of useful and fun commands.
6363

6464
- Categories:
6565
- **Info**
6666
- **Fun**
67+
- **Utils**
68+
- **Internet**
69+
- **Voice**
6770
- **Animals**
6871
- **Color**
6972
- **Points**
@@ -86,9 +89,10 @@ You can add Any Bot to your server with [this](https://discordapp.com/oauth2/aut
8689
git clone https://github.com/MDCYT/Any-Bot.git
8790
```
8891
### Requirements
89-
- Node v16
90-
- A PC
91-
- Have hope
92+
- [Discord Bot Token](https://discordapp.com/developers/applications/me)
93+
- [Node 16 or higher](https://nodejs.org/en/download/)
94+
- [Python 2.7.2](https://www.python.org/downloads/release/python-272/)
95+
- Pray to god, or, if you're an atheist, cross your fingers.
9296

9397
After cloning, run an
9498

@@ -98,24 +102,15 @@ npm install
98102
After installation edit the ` config-example.json`
99103

100104
```json
101-
{
102-
"ownerId": "Your_Id",
105+
{
103106
"developers": [
104107
"Only if you have developers",
105108
"Only if you have more of 1 developer"
106-
],
107-
"botID": "Bot_Id",
108-
"bugReportChannelId": "Your_Bug_Report_Channel_Id",
109-
"feedbackChannelId": "Your_Feedback_Channel_Id",
110-
"serverLogId": "Your_Server_Log_Channel_Id",
111-
"supportServerInvite": "Your_Support_Server_Invite",
112-
"mongodb_url": "Your_MongoDB_Url", //This is in testing, it does not affect the bot at all and it does not currently work
109+
],
113110
"botStats":{
114-
"guilds_channel": "Your_Guilds_Channel_Stats_Bot", //A voice channel where the number of servers that use the bot will be displayed
115-
"users_channel": "Your_Users_Channel_Stats_Bot" //A voice channel where the number of users using the bot will be displayed
111+
"guilds_channel": "Your_Guilds_Channel_Stats_Bot" //A voice channel where the number of servers that use the bot will be displayed (optional)
116112
},
117113
"apiKeys": {
118-
"catApi": "Cat_Api_Key", //Obtain a key in https://thecatapi.com/ (Only affect the Cat Command)
119114
"googleApi": "Google_Api_Key", //Obtain a key in https://console.developers.google.com/ (Only affect the Youtube Command)
120115
"fortniteshopApi": "Fortnite_Shop_Key", //Obtain a key in https://fnbr.co/api/docs (Only affect the Fortnite Shop command)
121116
"fortniteApi": "Fortnite_Api_Key", //Obtain a key in https://fortnitetracker.com/site-api (Only affect the Fortnite User command)
@@ -138,19 +133,27 @@ Now, edit the ` .env-example`
138133

139134
``` dotenv
140135
TOKEN=Your_Bot_Token
141-
GUILD_ID=Your_Guild_Id
136+
BOTID=Your_Bot_ID
137+
OWNERID=Your_Discord_ID
138+
GUILD_ID=Your_Guild_ID
142139
ENV=production #This will define if the slash commands are put or not
140+
MONGODB_URL=Your_MongoDB_URL
141+
APIURL="https://api.any-bot.tech/api/v1" #You can crate you own API if you want to, check https://github.com/MDCYT/Any-Api
142+
SUPPORTSERVERLINK= "https://discord.gg/efZ8bQYwnN" #This is the link to the support server
143+
SERVERLOGID=Your_Server_Log_Channel_ID #This is the id of the channel where the server logs will be sent
144+
BUGREPORTCHANNELID=Your_Bug_Report_Channel_ID
145+
FEEDBACKCHANNELID=Your_Feedback_Channel_ID
143146
```
144147
After editing the `.env-example` , rename to `.env`
145148

146149
start the bot with `node app` from the terminal
147150
```
148-
node app
151+
node app
149152
```
150153

151154
Optional you can start the bot with `node shard` if your bot is in more than five hundred servers.
152155
```
153-
node shard
156+
node shard
154157
```
155158

156159

README/phishing.gif

848 KB
Loading

app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
require("dotenv").config();
1+
if(process.env.ENV !== "production") require("dotenv").config();
2+
23
const Client = require("./src/client.js");
34
const config = require("./config.json");
45
const { Player } = require("discord-player");
56
const botlist = config.botlist;
67
const discordModals = require("discord-modals");
78
global.__basedir = __dirname;
8-
const WebSocket = require("ws");
99

1010
const client = new Client(config, {
1111
partials: ["CHANNEL"],

config-example.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
11
{
2-
"ownerId": "Your_Id",
32
"developers": [
43
"Only if you have developers",
54
"Only if you have more of 1 developer"
65
],
7-
"botID": "Bot_Id",
8-
"bugReportChannelId": "Your_Bug_Report_Channel_Id",
9-
"feedbackChannelId": "Your_Feedback_Channel_Id",
10-
"serverLogId": "Your_Server_Log_Channel_Id",
11-
"supportServerInvite": "Your_Support_Server_Invite",
126
"botStats": {
137
"guilds_channel": "Your_Guilds_Channel_Stats_Bot"
148
},
15-
"apiUrl": "https://api.any-bot.tech/api/v1",
169
"apiKeys": {
17-
"catApi": "Cat_Api_Key",
1810
"googleApi": "Google_Api_Key",
1911
"fortniteshopApi": "Fortnite_Shop_Key",
2012
"fortniteApi": "Fortnite_Api_Key",

0 commit comments

Comments
 (0)