- Batuu#3751
- Katılım
- 21 Kas 2022
- Mesajlar
- 8
- Tepkime puanı
- 4
- Şehir
- İstanbul
JavaScript:
const Discord = require("discord.js");
//// @☤ Batuu#0001
exports.run = (client, message, args) => {
if (message.channel.type == "dm") return;
if (message.channel.type !== "text") return;
if (!message.member.hasPermission("MANAGE_MESSAGES")) return message.reply(`Bu komutu kullanabilmek için **Mesajları Yönet** yetkisine sahip olmalısın!`).then(m => m.delete({ timeout: 10000}));
message.delete();
let question = args.join(" ");
let batuhan = message.author.username;
if (!question) return message.channel.send(new Discord.MessageEmbed().setTitle(`:x:yazı yazman gerek :x:`)).then(m => m.delete(({ timeout: 5000})));
message.channel.send(new Discord.MessageEmbed()
.setColor("#09ff00")
.setThumbnail(client.batuhan.avatarURL())
.setTimestamp()
.setFooter("Bot", client.batuhan.avatarURL())
.addField(`Oylama Başlatıldı!`, `**${question}**`)
)
.then(function(message) {
message.react("✅");
message.react("❌");
});
};
///////https://discord.gg/WrH7Pq9S7s
exports.conf = {
enabled: true,
guildOnly: false,
aliases: ["oylama"],
permLevel: 0
};
exports.help = {
name: "oylama",
description: "Oylama yapmanızı sağlar.",
usage: ".oylama "
};