NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

const http = require('http');
const https = require("https")
const express = require('express');
const app = express();
const prefix = "e!";
function clean(text) {
if (typeof(text) === "string")
return text.replace(/`/g, "`" + String.fromCharCode(8203)).replace(/@/g, "@" + String.fromCharCode(8203));
else
return text;
}
app.get("/", (request, response) => {
console.log(Date.now() + " Ping Received");
});
app.listen(process.env.PORT);
setInterval(() => {
http.get(`http://${process.env.PROJECT_DOMAIN}.glitch.me/`);
}, 280000);

const Discord = require('discord.js')
const bot = new Discord.Client();
bot.login('NDY4ODUyNjk1MjIzMjM4NjY3.Di_Mow.3PYG8Hf1WaDIK7Z2f_CoYB7k1JM')
bot.on("message", (message) => {
if(message.author.bot) return;
if(!message.content.startsWith(prefix)) return
// Les codes des commandes vont ici. en haut ou en bas ? )Ici en groconstar args = message.content.split(" ").slice(1);
let command = message.content.split(" ")[0].slice(prefix.length).toLowerCase();
let args = message.content.split(" ").slice(1);
if(command === "ping"){
message.reply("Pong :ping_pong: " + `${Date.now() - message.createdTimestamp} ms`)
}
if (command === "eval") {
var ID = ["285418210965323776", "334095574674571264", "277825082334773251"]
if (ID.indexOf(message.author.id) === -1) return message.channel.send("Tu ne peux pas faire ça!");
//thx jallais le faire
var code = args.join(" ");
try {
let evaled = eval(code);
if (typeof evaled !== "string")
evaled = require("util").inspect(evaled);
message.channel.send(clean(evaled), {code:"xl"});
} catch (err) {
message.channel.send(``ERREUR` ```xln${clean(err)}n````);
}
}

if(command === "invite"){
var e = new Discord.RichEmbed()
.setDescription("[Invitation du bot !'](https://discordapp.com/oauth2/authorize?&client_id=468852695223238667&scope=bot&permissions=233842818)")
.setColor("EBDADA")
message.channel.send(e);

}
if(command === "invite"){
var e = new Discord.RichEmbed()
.setDescription("[Invitation au support !'](https://discord.gg/Hhd2aVS)")
.setColor("EBDADA")
message.channel.send(e);

}
if(command === "help"){
var e = new Discord.RichEmbed()
.addField("Misc, Info & Admin ❓","e!help, e!invite, e!ping")
.addField("Jeux 🎺","e!pof, e!8ball")
.addField("InDev 🛠","ban, kick, casino, boss attack <number>")
.setColor("EBDADA")
message.channel.send(e);

}
if(command === "pof"){
var reponses = [" n Et c'est Pile 🙃"," n Et c'est Face ☺ !"]
var pileouface = reponses[Math.floor(Math.random() * reponses.length)]
var e = new Discord.RichEmbed()
.setDescription('Pile ou face ?' + pileouface)
.setColor("EBDADA")
message.channel.send(e)
}
if(command === "test"){
var e = new Discord.RichEmbed()
.addField("Bienvenue dans le debug menu"," test {args1} args1")
.setColor("EBDADA")
message.channel.send(e)
}
if(command === "reload"){
bot.destroy()
message.channel.send(')
}
if(command === "8ball"){
var reponses = [":8ball: Oui, je vous l'assure !",":8ball: Non ! Ça n'est pas vrai !"]
var pileouface = reponses[Math.floor(Math.random() * reponses.length)]
var e = new Discord.RichEmbed()
.addField("🍀 La 8ball indique...","" + pileouface)
.setColor("EBDADA")
message.channel.send(e)
}
});
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.