mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
feat: move to src dir
This commit is contained in:
1 parent
ddede49160
commit
c8f8eb56d4
3 files changed
+4
-3
No files matched your search
+2
-1
@@ -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",
|
||||||
|
|||||||
@@ -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);
|
||||||
});
|
});
|
||||||
File renamed without changes.
Reference in new issue
Block a user