Advertisement
Ronopoldo

index.js

Aug 31st, 2021
5,017
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const express = require('express');
  2. const app = express();
  3. const port = 3000;
  4.  
  5.  
  6. app.get('/', function(request, response){ response.send(`Монитор активен. Локальный адрес: http://localhost:${port}`); });
  7. app.listen(port, () => console.log());
  8. const Discord = require('discord.js');
  9. const client = new Discord.Client();
  10.  
  11. client.login(process.env.DISCORD_TOKEN);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement