- İlk olarak bilgisayarına Node JS indir.
- Daha sonra bir MongoDB hesabı oluştur ve connection linki al.
- Eğer bunu yapmayı bilmiyorsan buraya tıklayarak medium.com üzerinde yazdığım yazıyı inceleyebilirsin.
- Bu projeyi zip halinde indir.
- Herhangi bir klasöre zipi çıkart.
- Daha sonra src klasörünün içindeki configs klasörünün içine gir
settings.json
veconfig.json
dosyalarının içindeki bilgileri doldur. - Sonra klasörün içerisinde bir
powershell
ya dacmd
penceresi aç. npm install
yazarak tüm modülleri kur.- Kurulum bittikten sonra
npm start
yaz ve botu başlat.
Eğer bir kullanıcıda config.json
dosyasındaki staffs kısmına ID'sini girdiğin rollerden biri yoksa, bot o kullanıcıya coin eklemez ve yetkisini atlatmaz!
Senkronize komutu ise şu işe yarar; Diyelim siz client.ranks
kısmına x, y ve z
rollerini girdiniz ve botu sunucuya eklediniz. Fakat bende botu eklediğiniz zaman halihazırda z
rolü vardı. Eğer siz benim üstümde senkronize komutunu kullanmazsanız, ben yetki atladığım zaman bot benim z
rolümü alıp bana x
rolü verecektir. Fakat eğer senkronize komutunu kullanırsanız, bot benim coinimi, z
rolüne atadığınız coin ile eşitleyecektir.
- Discord Sunucum
- Discord Profilim
- Herhangi bir hata bulmanız durumunda ya da yardım isteyeceğiniz zaman buralardan bana ulaşabilirsiniz.