NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

const Discord = require("discord.js");
const db = require("quick.db");

var random = ['Beg us for forgiveness.','The wolves are closing, they’re closing, they’re closing in on us.','You strangled me like an addiction.','We had to fall to lose it all...','One thing I dont know Why?','Things arent the way they were before.'];
var randomla = Math.floor(Math.random() * random.length);


exports.run = async (client, message, args) => {
let member = message.mentions.members.first() || message.guild.members.get(args[0])
const başarılıs = new Discord.RichEmbed()
.setAuthor(message.author.username, message.author.avatarURL)
.setColor("#3a0141")
.setDescription("Kaydetmek istediğin kullanıcıyı belirtmedin.");
if(!member) return message.channel.send(başarılıs)
let kontrol = message.guild.member(member);
let alınacak = message.guild.roles.find(r => r.id === "781199609220694067");
let verilecek1 = message.guild.roles.find(r => r.id === "781199663701164073");
//let şüpheli = message.guild.roles.find(r => r.id === "686201024754876505");
//let yasaklıtag = message.guild.roles.find(r => r.id === "686201023563694157");
//let cezalı = message.guild.roles.find(r => r.id === "686201020954574858");

if (
!message.member.roles.has("781199981661913118") &&
!message.member.hasPermission("ADMINISTRATOR")
) return message.reply('bu komutu kullanabilmek için <@&781199981661913118> rolüne sahip olmalısın.').then(m => m.delete(5000));;


if (!kontrol.roles.has("781199663701164073")) {
await kontrol.addRole(verilecek1);
await kontrol.removeRole(alınacak);
//await kontrol.removeRole(şüpheli);
//await kontrol.removeRole(yasaklıtag);
//await kontrol.removeRole(cezalı);
const başarılı = new Discord.RichEmbed()
.setAuthor(message.author.username, message.author.avatarURL)
.setColor("#3a0141")
.setDescription(
"" +
member +
" kişisine başarıyla <@&" +
verilecek1.id +
"> rolü verildi."
);
message.channel.send(başarılı);
let embed = new Discord.RichEmbed()
.setColor("#3a0141")
.setDescription(
`${member} aramıza ${verilecek1} olarak katıldı. Seninle beraber **${message.guild.memberCount}** kişiyiz. `
)
.setFooter(
`${random[randomla]}`
);
client.channels.get("781202234359808020").send(embed);
} else if (kontrol.roles.has("781199663701164073")) {
await kontrol.removeRole(verilecek1);
await kontrol.addRole(alınacak);
const başarılıx = new Discord.RichEmbed()
.setAuthor(message.author.username, message.author.avatarURL)
.setColor("#3a0141")
.setDescription(
"" +
member +
" kişisinden başarıyla " +
verilecek1 +
" rolü alındı ve " +
alınacak +
" rolü verildi."
);
message.channel.send(başarılıx);
}
};

exports.conf = {
enabled: true,
guildOnly: true,
aliases: ["kayıt"],
permLevel: 0
};
exports.help = {
name: "member",
description: "Birinin nickini değiştirir.",
usage: "nick <yeni nick>"
};
     
 
what is notes.io
 

Notes is a web-based application for online 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 14 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.