Notes
![]() ![]() Notes - notes.io |
const { stripIndents } = require('common-tags');
const { randomRange, verify } = require('../util/Util.js');
const db = require('quick.db')
let oyndurum = new Set();
exports.run = async (client, message, args) => {
db.set(`Klostrofobi`,`Kapalı alan fobisi.`)
db.set(`Türkçe`,`Türkiye Türklerinin ana dili.`)
db.set(`Domates`,`Kırmızı bir sebze.`)
db.set(`Otel`,`Tatillerde vb. durumlarda para karşılığı kalıncak yer.`)
db.set(`Söğüt`,`Asprinin ham maddesi.`)
db.set(`Veteriner`,`Hayvan doktoru.`)
db.set(`Airafe`,`Bu oyunu oynadığınız botun ismi.`)
db.set(`Rythm`,`En çok sunucuya sahip müzik botu.`)
db.set(`Magnum`,`2019 Yılında Maserati verecek olan dondurma markası.`)
db.set(`Lüksemburg`,`Avrupa'da adı ile başkenti aynı olan bir ülke`)
db.set(`Deve`,`Çöl yaşamına dayanıklı, sarı esmer renkte, yüksek boylu, uzun ve eğri boyunlu bir hayvan`)
//kelime haznesi (açıklamalar)
//Amil <3 ///////////////////
var kelimeler = ['Klostrofobi','Türkçe','Domates','Otel','Söğüt','Veteriner','Airafe','Rythm','Magnum','Lüksemburg','Deve'];
var kelime = kelimeler[Math.floor(Math.random() * kelimeler.length)]
var açıklama = await db.fetch(`${kelime}`)
var ekpoint = Math.floor((Math.random() * 10) + 1);
message.channel.send(`> Kelimeyi tahmin et bakalım! :tada: nn > **İpucu:** `${açıklama}`n > **Doğru ise kazanılacak puan:** ` + ekpoint);
const collector = message.channel.createCollector(message => message.content.startsWith(''), {
time: 10000,
})
/* Burayı silmeyin!! */
collector.on('end', (collected, reason) => {
if (reason === 'd0ru') return oyndurum.delete(message.channel.id);
if (reason === 'd0rudeil') return oyndurum.delete(message.channel.id);
oyndurum.delete(message.channel.id);
message.reply(`**10** Saniye süre sona erdi.`)
})
/* \====//=\====//=\====//=\====// */ // Sürüm v1.9.5
collector.on('collect', message => {
if (!message.author.bot) {
const balances = db.fetch(`ktbalance_${message.author.id}_d0ru`)
console.log('d0ru.ƈα'adamdır') //burayı silende ne bilim.
console.log('Kelime tahmini Collectoru aktif')
if (message.content.includes(kelime.toLowerCase()) || message.content.includes(kelime.toUpperCase()) || message.content.includes(kelime)) {
const d0ruembed = new Discord.RichEmbed()
.setTitle(`Tebrikler ${message.author.username} :tada:`)
.setDescription(`Kelimeyi doğru bildin ve ` ${ekpoint} ` puan kazandın n Mevcut Puan: **a!kt-puan**`)
.setFooter(`${client.user.username} ` + 'Kelime tahmini sistemi', client.user.avatarURL )
.setColor('0x36393E')
message.channel.send(d0ruembed)
db.add(`ktbalance_${message.author.id}_d0ru`, ekpoint)
collector.stop('d0ru')
} else if (message.content !== kelime) {
const balance = db.fetch(`ktbalance_${message.author.id}_d0ru`)
const kayip = balances - ekpoint
const d0rudeilembed = new Discord.RichEmbed()
.setColor('0x36393E')
.setTitle(`Oww... ${message.author.username}`)
.setDescription(`Kelimeyi yanlış bildin ve ` ${ekpoint} ` puan kaybettin n Mevcut Puan: **a!kt-puan**`)
.setFooter(`${client.user.username} ` + 'Kelime tahmini sistemi', client.user.avatarURL )
message.channel.send(d0rudeilembed)
db.set(`ktbalance_${message.author.id}_d0ru`, balance - ekpoint)
collector.stop('d0rudeil')
}}
})
};
exports.conf = {
enabled: true,
guildOnly: false,
aliases: ['kt'],
permLevel: 0
};
exports.help = {
name: 'kelime-tahmini',
description: 'd0ru ya aittir aksini iddia edene hakkım haramdır.',
usage: 'kelime-tahmini'
};
![]() |
Notes is a web-based application for online 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 14 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