Giter Club home page Giter Club logo

discord-bots-discord.py's Introduction

Discord Bots with Discord.py

In todays world discord.gg and discord.com is one of the biggest online chatting platforms Whether your in school, work, or college almost everyone uses it.

But why is discord better than whatsapp or teams, they are huge tech empires and have plenty of money to spend.

The real answer is that discord has bots! You can create your own bot today in discord, and you don't even need to pay money.

With 100 lines of simple JavaScript and JSON you can setup your bot!!! Sounds amazing right! Discord has many libraries and methods to actually make your own bot! Which is good isn't it!

These are some of them:

  • discordcr Link - In Crystal
  • DiscordGo
  • Discordrb
  • discord.js
  • discord.py
  • JDA

And many many more! But on this we are using discord.py! So now I have put an awesome economy bot like Dank Memer and EPIC RPG! We use JSON as a database. If you didn't know you can use json in python:

import json

with open("mainbank.json", "r") as f:
    users = json.load(f)

See the files to know more!

Taking and using the code

To use this code make sure you have the comments set up, but DO NOT plagiarise and give credits.

Do NOT take ownership of writing the code! If you follow this stuff be sure to do this

My bot's token is not revealed, make a new bot. If you don't like coding it and stuff. Just invite my bot here

That's for the economy. If you want a fully functional moderation bot then search up a bot called Dragon God. Super good for mod and automod!

I do have a moderation bot, but its only 200 lines of code. And thus not up to the mark.

Contributing to this Topic:

Be sure to make your own, we will have guides posted soon! Make a fork and simply email me the hack at [email protected] :D If your code gets approved we will give you credit and upload!

discord-bots-discord.py's People

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.