Facebook
From TRK, 4 Years ago, written in JavaScript.
This paste is a reply to Re: 7/24 Saat Uptime from ByMayFe - view diff
Embed
Download Paste or View Raw
Hits: 244
  1. const express = require("express");
  2. const http = require("http");
  3. const app = express();
  4.  
  5. app.get("/", (request, response) => {
  6.   //console.log(Date.now() + " BOT Aktif.");
  7.   //response.sendStatus(200);
  8. });
  9. app.listen(process.env.PORT);
  10. setInterval(() => {
  11.   http.get(`http://${process.env.PROJECT_DOMAIN}.glitch.me`);
  12. }, 1000 * 60 * 3);
  13.    
  14. module.exports = {
  15.   name: "yardım",
  16.   description: "yardım",
  17.   execute(client, message) {
  18.   message.channel.send(' ```Komut Menüsü```  ')
  19.   message.channel.send('!oynat \n Şarkı Çalıştırır \n !yardım \n Bu Komudu Çalıştır.')    
  20. }
  21. }
  22.