about summary refs log tree commit diff stats
path: root/index.js
diff options
context:
space:
mode:
authorBrian Chu <brianmchu42@gmail.com>2021-01-03 12:22:21 -0800
committerBrian Chu <brianmchu42@gmail.com>2021-01-03 12:22:21 -0800
commit99cf772f2bcf8c776190d520bc3372b2fca1c5ee (patch)
tree490b94b0445cfbc845c5643391d87a2a7a6e7142 /index.js
parentb22a0e30e4013e577001369764286db6821cf434 (diff)
downloadbytheway-99cf772f2bcf8c776190d520bc3372b2fca1c5ee.tar.gz
Basic housekeeping:
- install dependencies
- make skeleton of application
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)