TWO HOUR COURSE: How to Create a FULL Level System Discord Bot (Python Edition)
In this video we create a full discord bot that functions as a level system / rank system. We create a leaderboard command, custom rank images for users, restrict command usage to a bot command channel, integrate webhooks to post rank updates to dedicated announcement channel. We also handle discord file attachments, create an extendable project structure. Furthermore, we have custom commands that are restricted by a custom has_rank check, and a way to manually add points to our discord members.
If you want to follow along you can download the starting script here:
https://github.com/richardschwabe/levelsystem-discordbot-start/archive/refs/heads/main.zip
We use discordpy 2.1 in this video
✪ Chapters ✪
00:00 - Intro
01:00 - Project Setup
02:45 - Rank Controller
04:40- Custom Bot Class
09:30 - Filter messages
10:53 - Controller Methods
11:50 - First Model
13:00 - Database Intro
14:10 - Users Models
15:20 - Shared Base Model
18:00 - User Model
19:27 - Useractivity Model
22:05 - Setup Database
23:21 - Testing & Fixing
24:30 - Saving in Database Start
25:00 - Start _save_to_db
26:30 - fetch_user_by_id
28:30 - adjusting controller methods
33:10 - record_new_points
35:00 - get_points
38:17 - finish record_new_points
39:29 - Testing & Fixing
42:20 - Intro Cog
44:00 - Command Group
44:22 - Leaderboard Command
50:00 - LevelSystem
53: 00 - Get Rank Values
57:30 - Rank Image
1:00:00 - Draw Basic Infos
1:09:00 - Progressbar
1:15:00 - Draw Avatar
1:20:00 - Delete Images
1:21:30 - Testing & Fixing
1:24:10 - Command Channel Checks
1:27:30 - has_rank Check
1:30:20 - Announcement System
1:36:00 - Messenger System
1:40:30 - Base Controller
1:43:40- Bot Handler
1:49:50 - Manual Points
1:54:25 - Testing & Fixing
1:55:10 - Point Modifier based on Role
2:01:30 - Final Words
✦ URL: ✦
- https://github.com/richardschwabe/levelsystem-discordbot-start
- https://pillow.readthedocs.io/en/stable/index.html
❤Community❤
To support the channel and see more tutorials about technologies:
LIKE & SUBSCRIBE to the channel:
http://www.youtube.com/subscription_center?add_user=UCIJe3dIHGq1lIAxCCwx8eyA
Join us on our discord server: https://discord.gg/6h3xTkrpQT
My Linktr.ee:
?https://linktr.ee/richardschwabe
Code to my videos can be found on Github: https://github.com/richardschwabe
Comment below the video for feedback, suggestions, wishes or if you have spotted a mistake!
This video might have a related article on my website: www.richardschwabe.de
My patreon for the super subscribers: https://patreon.com/RichardSchwabe
Some affiliate links (I will receive a small commission on Amazon) to support the channel at no extra cost for you:
?Favorite Books?
https://geni.us/rOy8L
https://geni.us/om4z
https://geni.us/1l9fKhZ
https://geni.us/TpZ1
https://geni.us/AbYnW
?️PC Setup?️
Duronic Triple Monitor Arm Stand: https://geni.us/tQVdeC
TeckNet Extended Gaming Mouse Pad: https://geni.us/o12vH0U
Razer DeathAdder V2: https://geni.us/N4tP1
Logitech C920 HD Pro Webcam: https://geni.us/YlBt8N2
Dell U2722D UltraSharp 27: https://geni.us/IkBOd
Dell S2721DGFA 27 Inch QHD: https://geni.us/nSmy9
Beyerdynamic DT 770 PRO: https://geni.us/i6JR
✨Recording✨
Rode Procaster: https://geni.us/MU3ua6h
Elgato Green Screen: https://geni.us/BhecX
STEINBERG UR242: https://geni.us/ltBdFP
Elgato Stream Deck Classic: https://geni.us/koiy5
?Network?
Ubiquiti UniFi SmartPower Redundant: https://geni.us/wIG3U3
Ubiquiti UniFi Dream Machine Pro: https://geni.us/75zJ9BI
Ubiquiti Networks etc-24-poe: https://geni.us/hFNiuc
Ubiquiti UniFi 6 Long-Range: https://geni.us/GTy23S
© Created by Richard Schwabe with ❤ ©
Music License: Youtube Audio Library
Website: www.richardschwabe.de
All code examples fall under GNU General Public License v3.0
We do not recommend using code shown in tutorials or on our Github public repository to run in production environment and should be used for education only.
We cannot be held liable for any damage caused by the code or do not provide any warranty.
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «TWO HOUR COURSE: How to Create a FULL Level System Discord Bot (Python Edition)», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.