Code Monkey home page Code Monkey logo

discord-bot-1's Introduction

Discord-Bot

Discord Bot With Python // Python İle Discord Bot Yapımı (Türkçe)

Öncelikle merhaba herkese iyi çalışmalar dilerim :) Burada görmüş olduğunuz kodlar discordda bir botu çalıştırmak için yazıldı

1- Discord developers adresinden bir bot oluşturuldu gerekli izinlerin verilmesinin ardından bir sunucuya eklendi bu sırada bize token adresi verildi.

2- Verilen bu token adresini en alttaki bölüme yazmanız gerekmektedir, bu adres kodlarımız ile botumuz arasındaki iletişimi sağlar.

3-Gerekli kütüphaneler yüklü değilse onları indirmeniz gerekir. (Discord, BeautifulSoup, request gibi)

4-Bunları kodumuza import ile dahil ediyoruz.

5-Ben komut kısmını beceremedim onun yerine direkt mesajda geçiyor ise o şekilde aldım ve komut gibi görünenlerin başına '!' (ünlem) işareti koydum.

6-Benim if-elif komutları ile verdiğim yeri dilediğiniz şekilde çoğaltabilirsiniz.

7-Tüm işlemler bittiğinde kodunuzu çalıştırın program açık kaldığı sürece yazılan mesajlara botunuz cevap verebilecektir.

8-İyi günler iyi çalışmalar.

discord-bot-1's People

Contributors

yusufpek avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.