diff --git a/.idea/.idea.MediaFixer.dir/.idea/.gitignore b/.idea/.idea.MediaFixer.dir/.idea/.gitignore
new file mode 100644
index 0000000..1317a90
--- /dev/null
+++ b/.idea/.idea.MediaFixer.dir/.idea/.gitignore
@@ -0,0 +1,13 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Rider ignored files
+/projectSettingsUpdater.xml
+/.idea.MediaFixer.iml
+/contentModel.xml
+/modules.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/.idea/.idea.MediaFixer.dir/.idea/encodings.xml b/.idea/.idea.MediaFixer.dir/.idea/encodings.xml
new file mode 100644
index 0000000..df87cf9
--- /dev/null
+++ b/.idea/.idea.MediaFixer.dir/.idea/encodings.xml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/.idea/.idea.MediaFixer.dir/.idea/indexLayout.xml b/.idea/.idea.MediaFixer.dir/.idea/indexLayout.xml
new file mode 100644
index 0000000..7b08163
--- /dev/null
+++ b/.idea/.idea.MediaFixer.dir/.idea/indexLayout.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/.idea.MediaFixer.dir/.idea/vcs.xml b/.idea/.idea.MediaFixer.dir/.idea/vcs.xml
new file mode 100644
index 0000000..94a25f7
--- /dev/null
+++ b/.idea/.idea.MediaFixer.dir/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/index.js b/index.js
index c503044..488245c 100644
--- a/index.js
+++ b/index.js
@@ -1,6 +1,7 @@
const mySecret = process.env['TOKEN']
// Require the necessary discord.js classes
const { Client, Intents } = require('discord.js');
+const http = require('http');
require('discord-reply'); // IMPORTANT: put this before your discord.Client()
// Create a new client instance
const client = new Client({
@@ -10,6 +11,14 @@ const client = new Client({
]
});
+http.createServer((req, res) => {
+ res.writeHead(200, {
+ 'Content-type': 'text/plain'
+ });
+ res.write('Hey');
+ res.end();
+}).listen(4000);
+
// When the client is ready, run this code (only once)
client.once('ready', () => {
console.log('Ready!');
@@ -28,5 +37,4 @@ client.on('messageCreate', async message => {
});
// Login to Discord with your client's token
-//client.login(process.env.TOKEN);
-client.login(mySecret);
+client.login(mySecret);
\ No newline at end of file