Discord Python - How to Create General & Admin Commands

preview_player
Показать описание


💳 DONATE 💳
Bitcoin Wallet: bc1q05j8gcnq4mzvgj603cxdc8xxck4jgnu2ljsrt4
Ethereum Wallet: 0x5e7BD4f473f153d400b39D593A55D68Ce80F8a2e

🔗 Social Media 🔗

⚡ Please leave a LIKE and SUBSCRIBE for more content! ⚡

🎬 My Gear 🎬
🔌 Second UPS (CyberPower BU650E): Couldn't find a link

💻 PC Parts 💻

⏱️Timestamps⏱️
Intro (0:00)
How to Create Commands (2:30)
How to Create Admin Commands (9:57)

⭐ Tags ⭐
- Discord Tutorials
- Discord Python
- Python Discord Tutorial
- Discord Tutorial for Beginners

⭐ Hashtags ⭐
#discord #python #automation
Рекомендации по теме
Комментарии
Автор

this tutorial no longer works. now, you have to put the intents and the prefixes after "client = MyClient()"

sky_city
Автор

for some reason im facing issues with having my bot read the messages in my server and replying to them, i even gave it the admin role, still it doesn't reply to me, yet when i run the same command in a DM it works, please let me know if theres a work around

khalilebdelli
Автор

This was really helpful, you're amazing ♡ I was trying the old method to add commands but iirc discord removed prefix commands for python. I would like to do this method in cogs. I'm not sure how to do that yet.

ArtByAhri
Автор

with:
message.author.roles

I get error:
'User' object has no attribute 'roles'

Member has roles, but User doesn't?

timmyt
Автор

Let's chat and help each other out in programming related topics!

MichaelKitas
welcome to shbcf.ru