Skip to content
Merged

Dev #35

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
54663b3
fix: Update Old Dependencies
MDCYT Jul 25, 2022
523d85f
Feat: Update voice channel is now optional
MDCYT Jul 25, 2022
9f4b342
Fix: Search Music Command fixec
MDCYT Jul 25, 2022
926a70b
feat: New AntiPhishing Links System
MDCYT Jul 25, 2022
1120b59
refactor: Yes, refactor
MDCYT Jul 25, 2022
5e1a2c3
fix: Delete Eval Button Fixed
MDCYT Jul 25, 2022
b66ce13
Refactor: Does anyone seriously read this?
MDCYT Jul 25, 2022
e7f974e
fix: Well, this is no longer necessary, so
MDCYT Jul 25, 2022
eda8ddc
Feat: Make changes in AntiPhising
MDCYT Jul 26, 2022
68872ea
Feat: New ShortUrl Command
MDCYT Jul 26, 2022
0ae5155
refactor: yes...
MDCYT Jul 26, 2022
882bdf8
Fix: CoronaVirus Command
MDCYT Jul 26, 2022
695c03d
feat: New category
MDCYT Jul 26, 2022
e024663
Feat: AntiPhishing now has support for url shorteners
MDCYT Jul 26, 2022
5c0fbe2
Feat: New categories and Cool-down Feature
MDCYT Jul 26, 2022
6f50cd3
Refactor: Change some commands to new Categories
MDCYT Jul 26, 2022
9a4eea1
Feat: Animals Commands Update pt.1
MDCYT Aug 1, 2022
ecd504a
fix: I forget the ffmpeg-static :angry:
MDCYT Aug 1, 2022
c23e4bb
fix: Fixed Shard
MDCYT Aug 1, 2022
c6658a5
Fix: env file
MDCYT Aug 1, 2022
6f6fb0e
Refactor: Yes, i dont use ws
MDCYT Aug 1, 2022
c09991a
Feat: New README.MD
MDCYT Aug 1, 2022
a5ea8ef
Feat: No more tinyurl or bitly
MDCYT Aug 1, 2022
532f5ec
Refactor: Yeah, you need Python 2.7.2, no the 3
MDCYT Aug 1, 2022
8118e48
Fix: No more "Unknown interaction component type received:" messages
MDCYT Aug 1, 2022
2c22718
Feat: Animals Commands Update pt.2
MDCYT Aug 1, 2022
4bbf588
Fix: No more dotenv in production
MDCYT Aug 1, 2022
348968b
Feat: Delete no used packages
MDCYT Aug 1, 2022
0fa31b8
Fix: Update old node-fetch to axios
MDCYT Aug 1, 2022
d2e312c
Fix: Unnecessary Package
MDCYT Aug 1, 2022
bd5a3f0
fix: I think the instagram command is fix, i think
MDCYT Aug 2, 2022
1793bf0
fix: I am tired, zzz
MDCYT Aug 3, 2022
29856e6
feat: Dashboard update 1/?
MDCYT Aug 7, 2022
94a9f08
feat: Yeah, new lang update
MDCYT Aug 7, 2022
3cf678e
Update Corona.js
MDCYT Aug 7, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .env-example
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
TOKEN=Your_Bot_Token
GUILD_ID=Your_Guild_Id
BOTID=Your_Bot_ID
OWNERID=Your_Discord_ID
GUILD_ID=Your_Guild_ID
ENV=production #This will define if the slash commands are put or not
MONGODB_URL=Your_MongoDB_URL
MONGODB_URL=Your_MongoDB_URL
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
SUPPORTSERVERLINK= "https://discord.gg/efZ8bQYwnN" #This is the link to the support server
SERVERLOGID=Your_Server_Log_Channel_ID #This is the id of the channel where the server logs will be sent
BUGREPORTCHANNELID=Your_Bug_Report_Channel_ID
FEEDBACKCHANNELID=Your_Feedback_Channel_ID
45 changes: 24 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
- [Installation](#Installation)
- [Editing](#Editing)

**NEW MUSIC SYSTEM**
**NEW ANTIPHISHING SYSTEM**

<p align="center">
<img src="./README/music.gif" width="80%"></p>
<img src="./README/phishing.gif" width="80%"></p>



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

# Features

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

- Categories:
- **Info**
- **Fun**
- **Utils**
- **Internet**
- **Voice**
- **Animals**
- **Color**
- **Points**
Expand All @@ -86,9 +89,10 @@ You can add Any Bot to your server with [this](https://discordapp.com/oauth2/aut
git clone https://github.com/MDCYT/Any-Bot.git
```
### Requirements
- Node v16
- A PC
- Have hope
- [Discord Bot Token](https://discordapp.com/developers/applications/me)
- [Node 16 or higher](https://nodejs.org/en/download/)
- [Python 2.7.2](https://www.python.org/downloads/release/python-272/)
- Pray to god, or, if you're an atheist, cross your fingers.

After cloning, run an

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

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

``` dotenv
TOKEN=Your_Bot_Token
GUILD_ID=Your_Guild_Id
BOTID=Your_Bot_ID
OWNERID=Your_Discord_ID
GUILD_ID=Your_Guild_ID
ENV=production #This will define if the slash commands are put or not
MONGODB_URL=Your_MongoDB_URL
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
SUPPORTSERVERLINK= "https://discord.gg/efZ8bQYwnN" #This is the link to the support server
SERVERLOGID=Your_Server_Log_Channel_ID #This is the id of the channel where the server logs will be sent
BUGREPORTCHANNELID=Your_Bug_Report_Channel_ID
FEEDBACKCHANNELID=Your_Feedback_Channel_ID
```
After editing the `.env-example` , rename to `.env`

start the bot with `node app` from the terminal
```
node app
node app
```

Optional you can start the bot with `node shard` if your bot is in more than five hundred servers.
```
node shard
node shard
```


Expand Down
Binary file added README/phishing.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
require("dotenv").config();
if(process.env.ENV !== "production") require("dotenv").config();

const Client = require("./src/client.js");
const config = require("./config.json");
const { Player } = require("discord-player");
const botlist = config.botlist;
const discordModals = require("discord-modals");
global.__basedir = __dirname;
const WebSocket = require("ws");

const client = new Client(config, {
partials: ["CHANNEL"],
Expand Down
8 changes: 0 additions & 8 deletions config-example.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
{
"ownerId": "Your_Id",
"developers": [
"Only if you have developers",
"Only if you have more of 1 developer"
],
"botID": "Bot_Id",
"bugReportChannelId": "Your_Bug_Report_Channel_Id",
"feedbackChannelId": "Your_Feedback_Channel_Id",
"serverLogId": "Your_Server_Log_Channel_Id",
"supportServerInvite": "Your_Support_Server_Invite",
"botStats": {
"guilds_channel": "Your_Guilds_Channel_Stats_Bot"
},
"apiUrl": "https://api.any-bot.tech/api/v1",
"apiKeys": {
"catApi": "Cat_Api_Key",
"googleApi": "Google_Api_Key",
"fortniteshopApi": "Fortnite_Shop_Key",
"fortniteApi": "Fortnite_Api_Key",
Expand Down
Loading