Notes![what is notes.io? What is notes.io?](/theme/images/whatisnotesio.png)
![]() ![]() Notes - notes.io |
const db = require('quick.db');
exports.run = async(client, message, args) => {
if(!message.member.roles.cache.has('YETKİLİ ROL İD')) return message.channel.send('Ban Yetkisine Sahip Değilsin!.')
let user = message.mentions.users.first()
let sebep = args.slice(1).join(' ') || "Belirtilmemiş."
if(!user) return message.channel.send('Bir kişi etiketlemelisin.')
if(user.id === message.author.id) return message.channel.send('Kendini banlayamazsın.')
if(user.id === client.user.id) return message.channel.send('Botu banlayamazsın.')
if(user.id === message.guild.ownerID) return message.channel.send('Sunucu sahibini banlayamazsın.')
if (!message.guild.member(user).bannable) return message.reply('Bu kişinin rolü senden üstte veya `Üyeleri yasakla` yetkisine sahip.');
message.channel.send('<@'+ user.id + '> Kişisini **'+ sebep+ '** Sebebiyle banlamak istediğine eminmisin ?').then(async m => {
m.react('✅').then(r =>{
const tamam = (reaction,user) => reaction.emoji.name == '✅' && user.id == message.author.id;
const tamam2 = m.createReactionCollector(tamam)
tamam2.on('collect', async (r)=>{
message.guild.members.cache.get(user.id).ban({
reason: `${sebep}`
})
let embed = new Discord.MessageEmbed()
.setColor('0x36393E')
.setTitle('Kişi banlandı')
.setThumbnail("https://i.hizliresim.com/OfwPh2.gif")
.addField('Yetkili', `${message.author.tag}`)
.addField('Banlanan kişi', user)
.addField('Sebep', sebep)
.setImage("https://i.hizliresim.com/16mY9m.gif") //Gif Linki Koyabilirsin Buraya
client.channels.cache.get("LOG KANAL İD").send(embed) ///Ban Log Kanal İD
})
})
await m.react('❌').then(r =>{
const tamam = (reaction,user) => reaction.emoji.name == '❌' && user.id == message.author.id;
const tamam2 = m.createReactionCollector(tamam)
tamam2.on('collect', async (r)=>{
m.delete()
message.channel.send('Banlama işlemi iptal edildi.')
})
})
})
}
exports.conf = {
enabled: true,
guildOnly: false,
aliases:[],
permlevel: 0
};
exports.help = {
name: "ban"
}
![]() |
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