Skip to content

Commit

Permalink
discord.gg/monarch
Browse files Browse the repository at this point in the history
Hadi saldım bb
  • Loading branch information
acarfx authored Apr 10, 2021
1 parent e55d1fb commit 42763ab
Show file tree
Hide file tree
Showing 100 changed files with 4,012 additions and 0 deletions.
Binary file added Emojiler/Asagı.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Emojiler/Cezalandırıldı.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Emojiler/HerHangiBiGif.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Emojiler/Iptal.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Emojiler/Onay.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Emojiler/Susturuldu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Emojiler/SusturulmaKaldirildi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Emojiler/Upstaf Sistemi/başlamaBar.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Emojiler/Yasaklandı.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Emojiler/alti.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Emojiler/bes.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Emojiler/bir.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Emojiler/dokuz.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Emojiler/dort.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Emojiler/hoşGif.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Emojiler/hoşsgeldinKonfeti.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Emojiler/iconMor.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Emojiler/iconPembe.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Emojiler/iconTurkuaz.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Emojiler/iki.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Emojiler/sekiz.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Emojiler/sifir.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Emojiler/uc.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Emojiler/yedi.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions acar.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
const {Client} = require('discord.js');
const client = global.client = new Client({ fetchAllMembers: true });
const acarMessage = require('./acar/Reference/acarMessage');
const acarReply = require("./acar/Reference/acarReply");
const acar = require('./acar/Reference/acar');

// System Required
acar.sistemGereksinimleri();
acarMessage.KufurReklamEngel();
acarMessage.fotoSpotifyKoru();
acarMessage.mesajLog();
acarReply.replyFetch();
acar.komutYükle();
acar.On();

// acar(Util's)
require("./acar/Reference/acarUtils");

// acar(Moderation)
acar.Moderation();

// acar(Sistemler)
acar.sistemÇalıştır("coin");
acar.sistemÇalıştır("terfi");
62 changes: 62 additions & 0 deletions acar/Moderation/Afk.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 35 additions & 0 deletions acar/Moderation/Avatar.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
const { Client, Message, MessageEmbed} = require("discord.js");
const acar = require("../Reference/acarGet");
const acarDatabase = require("../Reference/acarDatabase");
module.exports = {
Isim: "avatar",
Komut: ["av", "pp"],
Kullanim: "avatar <@acar/ID>",
Aciklama: "Belirtilen üyenin profil resmini büyültür.",
Kategori: "Üye",

/**
* @param {Client} client
*/
onLoad: function (client) {

},

/**
* @param {Client} client
* @param {Message} message
* @param {Array<String>} args
*/

onRequest: async function (client, message, args) {
let embed = new MessageEmbed().setAuthor(ayarlar.embed.başlık, message.guild.iconURL({dynamic: true})).setColor(ayarlar.embed.renk)
let victim = message.mentions.users.first() || client.users.cache.get(args[0]) || (args.length > 0 ? client.users.cache.filter(e => e.username.toLowerCase().includes(args.join(" ").toLowerCase())).first(): message.author) || message.author;
let avatar = victim.avatarURL({ dynamic: true, size: 2048 });
embed.setColor("#2F3136")
.setAuthor(victim.tag, avatar)
.setFooter(`${message.member.displayName} tarafından istendi!`, message.author.avatarURL({ dynamic: true }))
.setDescription(`[Resim Adresi](${avatar})`)
.setImage(avatar)
message.channel.wsend(embed);
}
};
67 changes: 67 additions & 0 deletions acar/Moderation/Ban.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
const { Client, Message} = require("discord.js");
const acar = require("../Reference/acarGet");
const acarDatabase = require("../Reference/acarDatabase");
const qdb = require("quick.db");
const ms2 = require('parse-ms')
const ms = require('ms')
module.exports = {
Isim: "ban",
Komut: ["yasakla","sg","yargı","bedel","allahaemanet"],
Kullanim: "ban <@acar/ID> <Sebep>",
Aciklama: "Belirlenen üyeyi sunucudan yasaklar.",
Kategori: "Yetkili",

/**
* @param {Client} client
*/
onLoad: function (client) {

},

/**
* @param {Client} client
* @param {Message} message
* @param {Array<String>} args
*/

onRequest: async function (client, message, args) {
// !roller.yönetimRolleri.some(oku => message.member.roles.cache.has(oku))
let cezano = acarDatabase.cezaNoGetir() + 1;
if(!roller.banHammer.some(oku => message.member.roles.cache.has(oku)) && !roller.kurucuRolleri.some(oku => message.member.roles.cache.has(oku)) && !message.member.hasPermission('ADMINISTRATOR')) return message.channel.wsend(cevaplar.noyt);
let uye = message.mentions.members.first() || message.guild.members.cache.get(args[0]) || await acar.GetUser(args[0]);
let sunucudabul = message.mentions.members.first() || message.guild.members.cache.get(args[0])
if(!uye) return message.channel.wsend(cevaplar.üye + ` \`${sistem.prefix}${module.exports.Isim} <@acar/ID> <Sebep>\``);
if(message.author.id === uye.id) return message.channel.wsend(cevaplar.kendi);
if(sunucudabul && message.member.roles.highest.position <= sunucudabul.roles.highest.position) return message.channel.wsend(cevaplar.yetkiust);
if(sunucudabul && roller.banKoru.some(oku => sunucudabul.roles.cache.has(oku)) && !message.member.hasPermission('ADMINISTRATOR')) return message.channel.wsend(cevaplar.yetkilinoban);
let sebep = args.splice(1).join(" ");
if(!sebep) return message.channel.wsend(cevaplar.sebep);
try {
const timeout = 86400000
const acarsınır = 5
const daily = qdb.fetch(`ban_${message.guild.id}_${message.author.id}`);
if (daily !== null && timeout - (Date.now() - daily) > 0) { let time = ms2(timeout - (Date.now() - daily));
message.channel.wsend(`${message.guild.emojiGöster(emojiler.Iptal)} Günlük Kullanım Sınırını Geçtin! **${time.hours} Saat ${time.minutes} Dakika ${time.seconds} Saniye** Sonra tekrar dene.`).then(x => x.delete({timeout: 5000}))
} else {
if(!message.member.hasPermission('ADMINISTRATOR')) await qdb.add('bankomut_'+message.guild.id+'_'+message.author.id, 1);
const uyarılar = await qdb.fetch('bankomut_'+message.guild.id+'_'+message.author.id)
let limitsorgu;
if(message.member.hasPermission('ADMINISTRATOR')) {
limitsorgu = ``
} else {
limitsorgu = `( Günlük Limit: __${uyarılar}/${acarsınır}__ )`
};
uye.send(`${message.author} (\`${message.author.id}\`) isimli yetkili tarafından **${sebep}** sebebiyle sunucudan yasaklandın! ( __Ceza Numaran: #${cezano}__ )`).catch(acar => {})
acarDatabase.cezaEkle(cezano, uye, message.author, "Yasaklama", "Yasaklama", sebep, "Yok!", "Yok!", "Yok!", "ban");
message.guild.members.ban(uye.id, { reason: `Yasaklayan Kişi ID: ${message.author.id} Sebep: ${sebep}`})
message.guild.log(acarDatabase.cezaBilgi(cezano), uye, message.author, "Yasaklanma", "ban-log")
message.channel.wsend(`${message.guild.emojiGöster(emojiler.Yasaklandı)} ${uye} kişisi **${sebep}** nedeni ile sunucudan yasaklandı. ${limitsorgu} (Ceza Numarası: \`#${cezano}\`)`)
message.react(emojiler.Onay)
if(uyarılar > acarsınır -1) {
await qdb.set('ban_'+message.guild.id+'_'+message.author.id, Date.now())
await qdb.delete(`bankomut_${message.guild.id}_${message.author.id}`)
}}} catch (error) {
await qdb.delete(`bankomut_${message.guild.id}_${message.author.id}`)
}
}
};
Loading

0 comments on commit 42763ab

Please sign in to comment.