diff options
author | Indrajith K L | 2021-03-27 21:59:12 +0530 |
---|---|---|
committer | Indrajith K L | 2021-03-27 21:59:12 +0530 |
commit | 37adcb05616c60dfc5e7c98035ba26498385ef0e (patch) | |
tree | bc5885e3228193fb0213803e0c886e151d5cf9ec | |
parent | 3e1cdeaf022f4a3c1307be37213d07e2544a3afe (diff) | |
download | radio-bot-37adcb05616c60dfc5e7c98035ba26498385ef0e.tar.gz radio-bot-37adcb05616c60dfc5e7c98035ba26498385ef0e.tar.bz2 radio-bot-37adcb05616c60dfc5e7c98035ba26498385ef0e.zip |
Code Refactoring
-rw-r--r-- | src/main.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.js b/src/main.js index 0bac841..97ac2dc 100644 --- a/src/main.js +++ b/src/main.js @@ -1,8 +1,8 @@ require('dotenv').config(); const fs = require('fs'); -const { Client, MessageEmbed, Collection } = require('discord.js'); -const fetch = require('node-fetch'); +const { Client, Collection } = require('discord.js'); const confusion = require('./commons/confusion'); + const client = new Client(); client.commands = new Collection(); let casualMessages = {}; |