about summary refs log tree commit diff stats
path: root/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'index.js')
-rw-r--r--index.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/index.js b/index.js
new file mode 100644
index 0000000..0d13674
--- /dev/null
+++ b/index.js
@@ -0,0 +1,11 @@
+import { config } from 'dotenv'
+config()
+
+import { Client } from 'discord.js'
+const client = new Client()
+
+client.once('ready', () => {
+  console.log('ByTheWay, your bot is ready')
+})
+
+client.login(process.env.TOKEN)