This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Discord = require("discord.js"); | |
const client = new Discord.Client(); | |
const db = require('quick.db'); | |
exports.run = async (client, message, args) => { | |
var a = message.mentions.roles.first() || message.guild.roles.get(args.join(' ')) | |
if (!a) | |
message.channel.send("Lütfen devam etmem için bir rol etiketleyiniz.") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Discord = require("discord.js"); | |
const client = new Discord.Client(); | |
const db = require('quick.db'); | |
exports.run = async (client, message, args) => { | |
var a = db.fetch(`misafir_${message.guild.id}`) | |
if (!a) { | |
} else { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Discord = require("discord.js"); | |
const client = new Discord.Client(); | |
const db = require('quick.db'); | |
exports.run = async (client, message, args) => { | |
let cinsiyet = args[0]; | |
if (!["e", "k"].includes(args[0])) return message.reply("lütfen cinsiyetinizi `e` ya da `k` şeklinde belirtin.") | |
let yaş = args[1]; | |
if (!yaş) return message.reply("yaşını yazmadın.") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Discord = require("discord.js"); | |
const client = new Discord.Client(); | |
const db = require('quick.db'); | |
exports.run = async (client, message, args) => { | |
var b = message.mentions.roles.first() | |
if (!b) return message.channel.send("Lütfen devam etmem için bir rol etiketleyiniz.") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
client.on("guildMemberAdd", async member => { | |
var i = await db.fetch(`misafir_${member.guild.id}`) | |
var b = member.guild.roles.find(`id`, i) | |
if (!b) { | |
} else { | |
member.addRole(b) | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Discord = require("discord.js"); | |
const client = new Discord.Client(); | |
const db = require('quick.db'); | |
exports.run = async (client, message, args) => { | |
var a = db.fetch(`kayit_${message.guild.id}`) | |
if (!a) { | |
} else { |