Giter Club home page Giter Club logo

discord-bot-2023-sample's Introduction

Repository Details

This repository is part of the Discord.py 2.x series on youtube, that you can find here as a playlist:

https://www.youtube.com/playlist?list=PLESMQx4LeD3N0-KKPPDaToZhBsom2E_Ju

Description

My updated course: "How to make a discord bot" with discord.py 2.x covers everything you need to know to raise productivity and user activity on your discord server. By following this course you will learn everything you need to create a successful bot. Resulting in a professional, community driven and feature rich successful discord server.

The initial videos cover all necessary elements to create anything you want with discordpy, this includes:

- Registering a discord bot and inviting it to your server
- Setting up the python project with extra logging functionality
- Introduction to basic discordpy bot command structure
- Automatically load bot commands from separate files
- Handling user input with discordpy converters in a bot instance
- Handling errors during command execution
- Grouping commands together for better command organisation
- Creating discordpy COG (command collections)
- Loading COG extensions automatically from files
- Creating checks to limit access on bot commands
- DMs & "only you can see this" messages
- Hybrid commands to have both custom bot commands but also "SlashCommands"
- Dedicated Slashcommands
- Application commands in context menus for Members and Messages
- Decorators for Slashcommands
- Transform any user input in Slashcommands
- Handling autocompletion and filtering of Slashcommand user input
- Send rich text embeds with pictures, links and tables
- Create Views with Buttons for even better user interactions
- Showing Modals with Selects, TextInputs and Buttons

Specific Bots

The course is extended with various examples and guids even for entire bots.

- Sending Files (Local, From API)
- Rank System
- Ticket System
- Social Media Integrations

If you have suggestions for specific content, make sure you join the discord server. Join Discord

Setup Instructions

  1. Create a logs folder in the root directory
  2. Create a .env file from a copy of .env.sample
  3. Fill out the .env file with your discord bot token & guild id

Video Commands

This is not featured in any of the videos, however feel free to explore the videocmds folder. There are 3 commands in there:

!purge [channelname=current] [limit=100] -> Deletes X number of messages including the purge command message in a channel, default is 100 messages in the current channel you run the command

!debug channelname -> Shows information about a specific channel, useful to get the ID of any channel

!server -> Shows information about the guild, useful to quickly get the Guild ID

Links

Richard on youtube

Linktr.ee

discord-bot-2023-sample's People

Contributors

chocolamilk92 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.