Notes
Notes - notes.io |
exports.run = async(client, message, args) => {
const emoji = message.client.emojis.get('');
let isEnabled;
message.reply("`Birazdan Yetkili Ekibimiz Sizinle ilgilenicektir.`");
let mesaj = args.slice(0).join(' ');
let chan = message.channel;
let destekKanal = "503992203719213057";
const embed = new Discord.RichEmbed()
.addField('Dikkat', `Canlı Destek Talebi`)
.setAuthor(`${message.author.tag} (${message.author.id})`, `${message.author.avatarURL}`)
.setColor("00ff00")
.addField(`Bilgiler`, `**Sunucu**: ${message.guild.name} (${message.guild.id}) n**Kanal**: ${message.channel.name} (${message.channel.id}) n**Destek İsteyen**: ${message.author.tag} (${message.author.id}) n**Destek Mesajı**: ${mesaj}`)
.setFooter("© Bee | Canlı Destek")
client.channels.get(destekKanal).send({
embed: embed
});
const collector = client.channels.get(destekKanal).createCollector(message => message.content.startsWith(''), {
time: 0
})
client.channels.get(destekKanal).send('** Destek Çağrısına Bağlanmak İçin** `bağlan` **Yazınız. İptal Etmek İçin** `iptal` **Yazınız.**')
collector.on('message', (message) => {
if (message.content === 'iptal') collector.stop('aborted')
if (message.content === 'bağlan') collector.stop('success')
})
collector.on('end', (collected, reason) => {
if (reason === 'time') return message.reply('``Canlı Destek Zaman Aşımına Uğradı.``')
if (reason === 'aborted') {
message.reply('``Canlı Destek Talebi Reddedildi.``')
client.channels.get(destekKanal).send('``Canlı Destek Başarıyla Reddedildi.``')
}
if (reason === 'success') {
client.channels.get(destekKanal).send('``Canlı Destek Talebi Alındı.``')
client.channels.get(destekKanal).send('**Canlı Destek Talebini İptal Etmke İçin ``iptal`` Yazınız.**')
chan.send(`${message.author}`)
chan.send('``Destek Talebiniz Yetkili Tarafından Kabul Edildi``')
chan.send('**Destek Talebini İptal Etmek İçin `iptal` Yazınız.**')
isEnabled = true
client.on('message', message => {
function contact() {
if (isEnabled === false) return
if (message.author.id === client.user.id) return
if (message.content.startsWith('iptal')) {
message.channel.send('``Canlı Destek İptal Edildi``')
if (message.channel.id === chan.id) client.channels.get(destekKanal).send('``Canlı Destek Karşı Tarafdan İptal Edildi``')
if (message.channel.id === destekKanal) chan.send('``Canlı Destek Karşı Tarafdan İptal Edildi``')
return isEnabled = false
}
if (message.channel.id === chan.id) client.channels.get(destekKanal).send(`**Talepte Bulunan Kişi :** ${message.author.tag} : ${message.content}`)
if (message.channel.id === destekKanal) chan.send(`**Yetkili :** ${message.author.tag} : ${message.content}`)
}
contact(client)
})
}
})
}
exports.conf = {
enabled: true,
guildOnly: true,
aliases: [],
permLevel: 0
};
exports.help = {
name: 'canlıdestek',
description: 'Canlı Destek Tablebi Oluşturur.',
usage: 'canlıdestek'
};
|
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