feat: move to src dir

This commit is contained in:
TresAbhi committed 2023-04-18 13:21:00 +00:00
1 parent ddede49160
commit c8f8eb56d4
3 files changed
+4 -3

No files matched your search

+2 -1
View File
@@ -4,7 +4,8 @@
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1",
"start": "node src/index"
}, },
"author": "", "author": "",
"license": "ISC", "license": "ISC",
+2 -2
View File
@@ -1,11 +1,11 @@
const Discord = require("discord.js"); const Discord = require("discord.js");
const client = new Discord.Client(); const client = new Discord.Client();
const config = require("./config.json"); const config = require("../config.json");
const welcome = require("./welcome"); const welcome = require("./welcome");
client.on("ready", () => { client.on("ready", () => {
console.log("Our Discord bot is online"); console.log("Skilled Bot is now online");
welcome(client); welcome(client);
}); });
View File
File renamed without changes.