Discord PY Rewrite Tutorial 2020: EPISODE 3 - DM All + DM User

preview_player
Показать описание
#discordpy #python #tutorial
Welcome to the third episode of my Discord PY Rewrite Tutorial Serires where I go through and explain how to DM the whole server as well as how to DM specific users. I also talk more about using arguments with commands and how to catch errors for situations like this.

Thank you for watching! If you enjoyed, please subscribe as 99% of my viewers aren't and it means a lot as I am trying to grow. Also comment any questions or suggestions that you have as I read and respond to them all.

LINKS:

Stay Safe and make sure to check in for future tutorials :D

~alphascript

*DISCORD PYTHON TUTORIAL EPISODE 3*
Рекомендации по теме
Комментарии
Автор

I hope you guys enjoyed this one! It has been requested quite a few times but I finally got around to it. What videos would you like to see next? Stay Safe :D

alphascript
Автор

Thanks man, worked a whole lot, I added embeds for fancy looks of it with it the code 😀

OwSombraColomar
Автор

I used your exact same code and whenever I execute the command with my id to test it, it will just say "Couldn't dm the given user.
" Do you mind helping me out? (and yes, my DM's are on)

mrtaco
Автор

Hey! How do you find your user id?
I tried by @ ing it, but it didn't work.

LoukasA
Автор

What about creating a group dm with you, the bot, and another person?

ProbablyAxolotl
Автор

How can I add a command that sends my message three or four times like this: !Dm (user) (message) 2x

jnfijvw
Автор

Could you do a music bot tutorial as I am having a bit of trouble making one :/

tirontom
Автор

I don't know why this is not working when I use it on a user account and not a bot account. I know it's against the TOS to make self bots but I'm trying to make one for fun in my server. The guilds.members command doesn't list all the members in he server. I tried it on my server that has 40 members and it only listed 4 of them. Do you have any idea why would this not work on user accounts ?

Dtomper
Автор

dm_all isn't working for me. When I try to do it, it just sends "Couldn't send (message) to (bot name)"

ianjia
Автор

Would you know how to DM people with a specific role? I'm trying to figure out that and I can't find how to do that.

storalus
Автор

Yo for me ctx.guild.members only seems to pull users in VC has their been an update in the module since this video?

JustTaazR
Автор

hey, is there a way that it shows me if people reply to the bot? like, making it so it dm/posts the responses to a certain channel

JS
Автор

i tried it but i got this in my terminal
[x] SelfBot works fine.
-> MY BOT WORKS
[!] Cannot send dm to Andjela ... -> failing to send dm (BTW ANDJELA IS MY ACCOUNT ITS SENDING TO ME ? )

ivano
Автор

nice tutorial man, I think a spam bot would be a good vid to do ;)

oguisantosilva
Автор

i dont get an error for the dm command it just says Couldn't dm the given user

Swing-This
Автор

hey man is there a way to make the dm command work with both @ing a user and using the id?

cjstoty
Автор

Unable to see channels where I can send messages on your discord

bhavyapandey
Автор

error don't work: File "botcode.py", line 89
if user_id=None and args=None
^
SyntaxError: invalid syntax

zerowolf
Автор

bro, i copy same code but bot only dm to himself only..not everyone. i had also send u friend requesst
name: exam started

minecraftfan
Автор

TypeError: on_ready() missing 1 required positional argument: 'ctx'

axsync