client.on("message", async msg => {
if (msg.channel.type === "dm") return;
if(msg.author.bot) return;
if (msg.content.length > 7) {
db.add(`puancik_${msg.author.id + msg.guild.id}`, 3)
};
if (db.fetch(`puancik_${msg.author.id + msg.guild.id}`) > 150) {
db.add(`seviye_${msg.author.id + msg.guild.id}`, 1)
db.delete(`puancik_${msg.author.id + msg.guild.id}`)
};
});
var servers = {};
var prefix = 'e+';
client.on('message', async msg => {
if (msg.author.bot) return undefined;
if (!msg.content.startsWith(ayarlar.prefix)) return undefined;
const args = msg.content.split(' ');
const searchString = args.slice(1).join(' ');
const url = args[1] ? args[1].replace(/<(.+)>/g, '$1') : '';
const serverQueue = queue.get(msg.guild.id);
let command = msg.content.toLowerCase().split(' ')[0];
command = command.slice(prefix.length)
});