Python: Making a Discord bot (Part 2: Events) (Important note in description)

  Рет қаралды 245,897

Lucas

Lucas

5 жыл бұрын

In this video we learn about events and how to use them in our discord bot.
NOTE: Discord released a breaking change a while back that prevents bots from receiving information about various events unless they opt into it. As I cannot edit the video, if you want a quick explanation of what you will need to do, you can join my discord help server using the link below, go to the #bot-commands channel and use ?tag intents. You will get a brief explanation of what changes you will need to make for your bot to work. If you have any further questions you can also ask in one of the help channels :)
If you have any suggestions for future videos, leave it in the comments below.
GITHUB: github.com/Rapptz/discord.py
DOCUMENTATION: discordpy.readthedocs.io/en/l...
OFFICIAL DISCORD.PY SERVER: / discord
JOIN MY HELP SERVER: / discord
#DiscordBot #Rewrite

Пікірлер: 390
@pac4games253
@pac4games253 4 жыл бұрын
I really love the way Lucas explains things and the chill way of talking and his sense of humour, he's a great teacher and really know how to comunicate with his viewers
@vedrecide
@vedrecide 3 жыл бұрын
@Pac4 games true
@ZaynePaul
@ZaynePaul 2 жыл бұрын
Hi, i did it on repl.it followed everything shown in this video however it doesn't send the logs to the console when someone joins or leaves tho the bot is online. Can help me? Thanks!
@tenseven1398
@tenseven1398 4 жыл бұрын
Me: **watches this video** Also Me: **Looks at his clock**
@Sohlstyce
@Sohlstyce 4 жыл бұрын
he is determined to upload a video lol
@lucasqi933
@lucasqi933 4 жыл бұрын
lmao he needs sleep
@xerlapis
@xerlapis 4 жыл бұрын
look at his two skype icon
@codeforest9027
@codeforest9027 4 жыл бұрын
Wow this dude is OP
@codeforest9027
@codeforest9027 4 жыл бұрын
@@lucasqi933 I don't need sleep, I need views.
@norre_
@norre_ 4 жыл бұрын
This is one of the best tutorials on youtube! It's simple and good, thank you so much Lucas!
@wikipediabutter9137
@wikipediabutter9137 5 жыл бұрын
love your video, very straight forward. Keep it up man !!!!
@maxficco
@maxficco 3 жыл бұрын
Thanks so much! Your videos have been super chill and helpful!
@marxfan1509
@marxfan1509 4 жыл бұрын
Here's how to run the program in ATOM (the editor he's using): 1. Go to Settings (File > Settings or pressing Ctrl + comma) 2. Go to Install 3. Search for the package 'script' and ensure if you have it 4. If you don't then install it 5. Once installed, press Ctrl+Shift+B to run program.
@willscheele7939
@willscheele7939 4 жыл бұрын
im using the idle version and it wont open settings, how can i do it? i have opened the file tab then pressed ctrl+comma( , ) and it does nothing.
@marxfan1509
@marxfan1509 4 жыл бұрын
@@willscheele7939 This is for the Atom text editor. In IDLE you press F5.
@duskeopasni
@duskeopasni 4 жыл бұрын
atom is text editor no fucking ide
@CHonkNut31
@CHonkNut31 4 жыл бұрын
I don't know why but atom doesn't run the program when I do this. Can someone help me please?
@duskeopasni
@duskeopasni 4 жыл бұрын
@@CHonkNut31 do not use fucking atom to run projects, atom is a t e x t e d i t o r
@pavtech5734
@pavtech5734 4 жыл бұрын
The bot is working fine good videos hope to see more great videos from u
@AniSeason
@AniSeason 2 жыл бұрын
Man i love they way you teach
@NotoriousArnav
@NotoriousArnav 3 жыл бұрын
The Tutorial is made so fine!
@nighthawkgaming1962
@nighthawkgaming1962 2 жыл бұрын
the bot is ready gets displayed with no issue but it wont detect when someone joins or leaves
@noobcat4866
@noobcat4866 2 жыл бұрын
Same thing happened with me
@dominikpotulski576
@dominikpotulski576 5 жыл бұрын
I did not watched the two new videos, because I figured it out for my self. But i´ll need help to get the bot to play music. Looking forward for these videos (which are great) please update soon :)
@treppi
@treppi 5 жыл бұрын
dominik potulski read the documentation.
@dominikpotulski576
@dominikpotulski576 5 жыл бұрын
@@treppi I did! A lot! :)
@treppi
@treppi 5 жыл бұрын
dominik potulski Found sth out? ^^
@tuanduongphan3395
@tuanduongphan3395 4 жыл бұрын
@@shndowalt He watch this because he wants to make his own bot bruhhhhhhh
@sirpez4302
@sirpez4302 2 жыл бұрын
@@shndowalt :(
@sillicon8227
@sillicon8227 3 жыл бұрын
My man Lucas, j can't thank you enough Thank you so much!!!!!!!!!!
@kumaraloktiwari
@kumaraloktiwari 3 жыл бұрын
Thanks for the video
@sotomonte_
@sotomonte_ 5 жыл бұрын
Awesome!
@nav3432
@nav3432 2 жыл бұрын
Nice video sir !!
@yourcomment181
@yourcomment181 4 жыл бұрын
New sub , it worked
@jxmir1010
@jxmir1010 5 жыл бұрын
TYSM
@cm2349
@cm2349 4 жыл бұрын
finally, a tutorial that works! thanks so much for the video!
@saimrafique400
@saimrafique400 4 жыл бұрын
hey when i run the file to make bot online nothing happens can u help me
@kupokinzyt
@kupokinzyt 3 жыл бұрын
There are so many comments telling you to add unnecessary lines to fix member join. Copy and paste this. client = commands.Bot(command_prefix = '.', intents = discord.Intents.all()) Over top and overwrite this line. client = commands.Bot(command_prefix = '.') Go to your discord dev panel, in the bot tab and enable both "Intents".
3 жыл бұрын
I've done those things but still, my terminal doesn't react to user join or leave. Only prints "Bot is Ready". I'm using VSCode
@Vishnu-ph3bt
@Vishnu-ph3bt 3 жыл бұрын
Damm man, You made my day!
@cheese2007
@cheese2007 2 жыл бұрын
I don't often add replies to messages, but this really saved my day. I was ready to quit. Thanks, your comment deserves far more recognition.
@williamchi8911
@williamchi8911 2 жыл бұрын
this method really works, thx
@kupokinzyt
@kupokinzyt 2 жыл бұрын
You are all welcome.
@mike_vahemoubayed8099
@mike_vahemoubayed8099 4 жыл бұрын
Thank you!
@xextrememusic9796
@xextrememusic9796 4 жыл бұрын
thx working
@FuckMargaretThatchher
@FuckMargaretThatchher Жыл бұрын
If on_member_join doesn't work: import discord from discord.ext import commands intents = discord.Intents.all() client = commands.Bot(command_prefix='.', intents=intents) Make sure line 3 matches!
@onicgames2270
@onicgames2270 3 жыл бұрын
For some reason it says the @client.event aysnc def on_member_remove.... is an error and it won’t work
@achalsinghal7115
@achalsinghal7115 3 жыл бұрын
How do I make it so that on_message stops running after a message Y is detected from a specific author. I got most of it to work but it runs everytime Y is sent rather than once.
@davisdane1861
@davisdane1861 3 жыл бұрын
whenever I add these welcome and remove events. the code doesnt run, the bot does not come online, my python window will open for a split second then close.
@vedrecide
@vedrecide 3 жыл бұрын
can anyone help me how to run this program i have downloaded ‘script’ package but still not able to run (I am on Macbook Air) someone help me
@Tekcor
@Tekcor 3 жыл бұрын
hes goated
@JaredVititoe
@JaredVititoe 4 жыл бұрын
Is there a way to specify the channel for a ctx.send command? So when someone joins the server I can make the bot say something in general chat.
@dannytack9736
@dannytack9736 3 жыл бұрын
how do i know what to put like when you put on_member_join? where do i find a list of the ones i can use on discord i tried looking at the documentation but i couldnt find any
@jerwright3045
@jerwright3045 5 жыл бұрын
I'm not English, but I understand your videos. I'm waiting for your new video, man.
@glebnersisyan6127
@glebnersisyan6127 3 жыл бұрын
If it doesn't work for you try replacing the client variable with this: intents = discord.Intents.default() intents.members = True client = discord.Client(intents=intents) and make sure to enable intent in discord application settings
@LilJagger
@LilJagger 3 жыл бұрын
Thanks dude! this is what made it work for me (:
@violindude737
@violindude737 3 жыл бұрын
thank you so much!
@6r530
@6r530 3 жыл бұрын
Thanks man it helped
@spacemice4475
@spacemice4475 2 жыл бұрын
what are the client variables.
@Freez5009
@Freez5009 2 жыл бұрын
@@spacemice4475 this line is the client variable "client = commands.Bot(command_prefix = '.')", and you should replace it with the 3 lines mentioned in the comment
@oviyangandhi
@oviyangandhi 3 жыл бұрын
@Lucas This material is very good! You should convert this to a plaid udemy course!
@tryyme523
@tryyme523 4 жыл бұрын
how can I make it so the bot will write the welcome message in the server? thanks
@jettcariasflores935
@jettcariasflores935 3 жыл бұрын
How do you make it so that when a member joins the bot sends a message or an embed to a welcome or leaves channel?
@WSH3TM
@WSH3TM 3 жыл бұрын
thanks
@ryanvaught7612
@ryanvaught7612 4 жыл бұрын
hi i know i'm late to the party but i was hoping you could help me, i'm trying to figure out how to make the bot repeat messages back to me but i'm having trouble, I have tried having it print message.content but its not doing anything.
@freemountain4120
@freemountain4120 2 жыл бұрын
hey, I have a question, am I able to sen messages in my discord through the bot. Like announcements or whatever, just messages through the bot in someway, and if how?
@arttu1229
@arttu1229 5 жыл бұрын
Actually, Member.guild is a thing. As you said, read the documentation :)
@kefebolo
@kefebolo 5 жыл бұрын
thanks fletcha
@andrewnunnes
@andrewnunnes 4 жыл бұрын
Whats a guild
@rurv
@rurv 3 жыл бұрын
@@andrewnunnes A server
@khaixiang1748
@khaixiang1748 4 жыл бұрын
how to do make the bot send the messgaes in the the text channel instead of just printing it out in the console.
@Wiertelus
@Wiertelus 4 жыл бұрын
How to i make the bot read a my message and display them?
@darkreddust2135
@darkreddust2135 5 жыл бұрын
Can someone explain to me what an async function is?
@ProdbyNKA
@ProdbyNKA 3 жыл бұрын
How do I use the python terminal as a external terminal
@HanNguyen-dn8nk
@HanNguyen-dn8nk 2 жыл бұрын
Can you make a tutorial on how to make signal bots pls? Using webhooks or embedding input smth like that
@neil2051
@neil2051 4 жыл бұрын
couldn't find on_member_join() in the documentation. Or at least when I tried to look for it through table of contents. I did find on_member_ban() tho
@neil2051
@neil2051 4 жыл бұрын
just checked and they removed those 2 events
@ethanreed2672
@ethanreed2672 4 жыл бұрын
If you change client.run to "client.stop" you can stop the bot (just FYI) btw you don't need the " in it that was just to separate it... so, it should look like client.stop but of course you're gonna need the token and all of that.
@InanimateJR
@InanimateJR 3 жыл бұрын
that didnt work
@shivjotjosan2913
@shivjotjosan2913 2 жыл бұрын
i put the on meber join and remove as said in the vid but me bot isnt complieng it isnt saying memeber has joined or leaft a server
@marinel.03
@marinel.03 4 жыл бұрын
Im a beginner , and I have a little question. Why are u starting from the bottom in every video , I mean from the bot.py file ? I think you should have more file structures for each command like ban.py , kick.py , events.py , or I can write them all in one file (bot.py) ?
@scripticstudios2022
@scripticstudios2022 3 жыл бұрын
How would I do all this in Spyder?
@pavtech5734
@pavtech5734 4 жыл бұрын
I run the program but the command window don't show up what to do
@jocep
@jocep 3 жыл бұрын
Pls make a tutorial on listening dms to bot and print it on console. Does that use an event too?
@frostpixel7930
@frostpixel7930 5 жыл бұрын
Tutorial on how you can interact with the bot in a chain of commands? Sort of like !testCommand then the bot asks you a question and then you can give in the parameter without typing ! again?
@sciencenerd6623
@sciencenerd6623 4 жыл бұрын
Frost Pixel Wouldn’t you just ask for an input() from the user? So like !link link = input(Enter link) Etc.
@green9554
@green9554 3 жыл бұрын
How do I run the program on Command Prompt?
@dekadooman585
@dekadooman585 5 жыл бұрын
plz help me the tokens always changes itself even though i didnt regenerates
@arnomorel1242
@arnomorel1242 5 жыл бұрын
i have the same problem did you resolved it ?
@MadhuKraft
@MadhuKraft 3 жыл бұрын
Its saying that the ‘ is an invalid syntx. I wrote print(‘{member} has joined’) can anyone help?
@yazy5953
@yazy5953 3 жыл бұрын
ok it work for me u have to write print(f"{member} has joined") u have to put the f
@arnomorel1242
@arnomorel1242 5 жыл бұрын
Hi can someone help me, the tokens always changes itself even though i didnt regenerates ... and when i open my bot script with python.exe the cmd open and close automaticly in 1s so if you can help thx
@TheAnimeHere
@TheAnimeHere 4 жыл бұрын
you should get token from bot category not application
@real_yoplayer1
@real_yoplayer1 3 жыл бұрын
can I make the bot send a message one someone leaves or joins ?
@developerteam2731
@developerteam2731 3 жыл бұрын
It doesn't print when i invite my test account.
@sanspapyrus683
@sanspapyrus683 4 жыл бұрын
finally a tutorial that works on my crap computer
@daveastraeus9660
@daveastraeus9660 2 жыл бұрын
How do you run the commands on Python?
@user-gx8mu9xy2u
@user-gx8mu9xy2u 2 жыл бұрын
Thanks, but can how to make bot type in specific channel?
@joeses4162
@joeses4162 5 жыл бұрын
so you did (f' [member] has joined a server') I tried to see if that worked but it didnt, all it said was member has joined a server, could you explain?
@vyomjain3468
@vyomjain3468 5 жыл бұрын
You need to use normal parenthesis-- () , instead of square parenthesis :)
@joeses4162
@joeses4162 5 жыл бұрын
@@vyomjain3468 Ok Thanks alot
@HalfTayem
@HalfTayem 4 жыл бұрын
nope, its {member}
@DucklingGaming
@DucklingGaming 4 жыл бұрын
MukPlayz i used that but its not working for me. Help
@m.nandanbhandary8742
@m.nandanbhandary8742 2 жыл бұрын
bro i have a problem where when i the prefix command is set it wont work
@user-df4zw7yb4v
@user-df4zw7yb4v 4 жыл бұрын
If you made it to this video, good job.
@Chidani1
@Chidani1 4 жыл бұрын
how do u run the program while editing???
@sfetcubogdan863
@sfetcubogdan863 4 жыл бұрын
ctrl+shift+b
@raik1766
@raik1766 4 жыл бұрын
use visual studio code and when u want to run it click on that green > and you can edit while its running
@DogeKn1ght
@DogeKn1ght 4 жыл бұрын
@@sfetcubogdan863 u need the "script" package though
@marxfan1509
@marxfan1509 4 жыл бұрын
If you're using Atom (like he is) then: 1. Go to Settings (File > Settings or pressing Ctrl + comma) 2. Go to Install 3. Search for the package 'script' and ensure if you have it 4. If you don't then install it 5. Once installed, press Ctrl+Shift+B to run program.
@vedrecide
@vedrecide 3 жыл бұрын
how can we download “script” package?
@vigneshanala9665
@vigneshanala9665 3 жыл бұрын
The 0n_member_join and on_member_remove are not working what do i do?????????
@makeshiftartist_420
@makeshiftartist_420 4 жыл бұрын
i have an event that basically breaks the rest of the bot. It's: @client.event async def on_message(message) if 'foo' in message.content.lower(): print('foo was used in a message') But this takes over and makes every other event useless and doesn't even register commands.
@theultimatecoder3433
@theultimatecoder3433 2 жыл бұрын
client.process_commands(message)
@danipranger3122
@danipranger3122 5 жыл бұрын
When i run the bot i'm not getting a cmd type window but the bot is still running is there a option i missed? Or because im running a new version of Atom
@HalfTayem
@HalfTayem 4 жыл бұрын
in atom, go to file > settings > install and search "atom python run" when it's done installing. to run click ctrl s to save (important) then click F5
@forget6917
@forget6917 4 жыл бұрын
@@HalfTayem you could just use idle
@titofox4457
@titofox4457 4 жыл бұрын
@@HalfTayem and how i can do it if i use the vscode ? i can only use the terminal of vscode or search in cmd???
@HalfTayem
@HalfTayem 4 жыл бұрын
@@titofox4457 idk
@conngray
@conngray 3 жыл бұрын
might sound like a stupid question, but how did you get atom to run the program through cmd terminal?
@xlunyl
@xlunyl 3 жыл бұрын
locate the path than do py (name.py)
@sanlan9755
@sanlan9755 3 жыл бұрын
If you want to also output the name of the server you have to add "member.guild" to the output Like so: print(f"{member} has joined {member.guild}")
@jamesshepherd9810
@jamesshepherd9810 3 жыл бұрын
AttributeError Traceback (most recent call last) c:\Users\Jshep\OneDrive\Desktop\projects\bot\bot.py in 16 print(f"{member} has joined a server.") 17 ---> 18 @client.Event 19 async def on_member_remove(member): 20 AttributeError: 'Bot' object has no attribute 'Event'
@sanlan9755
@sanlan9755 3 жыл бұрын
@@jamesshepherd9810 In "@client.Event" you have to write "Event" lowercase So: "@client.event"
@jamesshepherd9810
@jamesshepherd9810 3 жыл бұрын
@@sanlan9755 yep that was it but i solved it by just moving all the events to a cog
@balugagaming1130
@balugagaming1130 3 жыл бұрын
lucas i have a question, how do you get that CMD looking pop up to happen?
@rara-he4xh
@rara-he4xh 2 жыл бұрын
search cmd in the search box and enter
@joelfast2447
@joelfast2447 4 жыл бұрын
my import discord is not working pls help
@alwaysadventurous7905
@alwaysadventurous7905 2 жыл бұрын
that intro tho
@ninjapig28
@ninjapig28 4 жыл бұрын
way better than the bellend tim tech good videos
@maciejn.3648
@maciejn.3648 3 жыл бұрын
For when my friend leave the server it says (member) left the server but it must say (nick#7790) has left the server
@gianlucapiloni1513
@gianlucapiloni1513 3 жыл бұрын
there are some erros? i don't see when one player join or exit from the server import discord from discord.ext import commands client = commands.Bot(command_prefix = '.') @client.event async def on_ready(): print("Bot is ready") @client.event async def on_member_join(member): print(f"{member} has joined a sever.") @client.event async def on_member_remove(member): print(f"{member} has left a server.")
@CharlieJParker
@CharlieJParker 3 жыл бұрын
same idk y
@markglover6156
@markglover6156 3 жыл бұрын
Great video, but I when I run my script, the console log prints (Bot is ready.) instead of opening the command prompt like yours. When I run the program and add an account to a server, nothing updates in the console log. Any help would be greatly appreciated.
@marcusylmaz4576
@marcusylmaz4576 3 жыл бұрын
same
@Daarrrkkk
@Daarrrkkk 3 жыл бұрын
Same...
@realhardik18
@realhardik18 3 жыл бұрын
the function has been removed
@woosix7735
@woosix7735 3 жыл бұрын
What does async do ?
@rene3456
@rene3456 3 жыл бұрын
line 11, in import discord ModuleNotFoundError: No module named 'discord' [Finished in 0.493s] help? i ran in python on atom and this error came.
@mr.awesome5109
@mr.awesome5109 3 жыл бұрын
did you remember to install it with that pip thing?
@Olifr13
@Olifr13 3 жыл бұрын
it doesnt work for me and i dont got any errors
@kentuckyfriedcunts9030
@kentuckyfriedcunts9030 3 жыл бұрын
when i run mine says ModuleNotFoundError: No module named 'discord' can anyone help?
@seemantsamal
@seemantsamal 3 жыл бұрын
go to cmd and use "py -3 -m pip install -U discord.py[voice]" to use the discord module
@aabb7796
@aabb7796 3 жыл бұрын
hi what does async do??
@draizertbr6352
@draizertbr6352 4 жыл бұрын
my bot keeps being offline is that normal??
@Barnesofthenorth
@Barnesofthenorth 3 жыл бұрын
Using this I have now created a bot that spams a channel every minute as a start of my plan to annoy somebody who is always late to our games night... sadly I now need to figure out how to stop it spamming me constantly without deleting the code... Dammit I feel like Frankenstein.
@miguelpereira934
@miguelpereira934 5 жыл бұрын
Hello, first of all thank you fro your discord bot and python videos. Can you make a tutorial on making the bot react to a certain message? Thanks
@lachlanhill1034
@lachlanhill1034 5 жыл бұрын
from what I know of python. the most basic way to that is to have: if message == "whatever": print("reaction") I know nothing about discord.py, but that is how you would do that in normal Python IDLE
@taispaceman
@taispaceman 3 жыл бұрын
It doesn't display anything in the console. I did everything like you. Can you help me?
@paradox263
@paradox263 3 жыл бұрын
same here
@spook-3
@spook-3 3 жыл бұрын
are you using pycharm? cuz im too and i wonder if its because of the editor it doesnt work for me too btw
@paradox263
@paradox263 3 жыл бұрын
Bro those two function are removed in newer version of discord.py so don't worry and keep learning
@calixkearley5222
@calixkearley5222 3 жыл бұрын
@@paradox263 wait fr?
@paradox263
@paradox263 3 жыл бұрын
Yes bro I've checked on their website. There is a statement wirtten on their documentation that these two are removed
@devyanshjhunjhunwala7062
@devyanshjhunjhunwala7062 3 жыл бұрын
i tried using on_invite_create event, but it didnt work :( can someone show me an example
@no-hr6rj
@no-hr6rj 3 жыл бұрын
@client.event async def on_invite_create(invite): print(f'An invite {invite} has been created.') also enable intents in the bot settings
@arvinddhavala2376
@arvinddhavala2376 3 жыл бұрын
the python tab that opens on your pc after u run the code does not open on mine. Pls tell what do i do
@carnaldesire
@carnaldesire 3 жыл бұрын
get atom-python-run package in install through settings
@tiktokauut
@tiktokauut 5 жыл бұрын
+1 like i have python on my phone
@treppi
@treppi 5 жыл бұрын
ICH HACKE MEINE ABONNENTEN „hacke“ mich bitte
@creepernoid3512
@creepernoid3512 3 жыл бұрын
How to connect our bot from social blade like i write .subs pewdiepie then it says the subs please tell how to make and please leave a reply yes or no.
@noahfrillerhj9769
@noahfrillerhj9769 4 жыл бұрын
Hi I'm running into a problem and that is I don't know how to close the bot down
@sisidimples
@sisidimples 4 жыл бұрын
If you change client.run to "client.stop" you can stop the bot (just FYI) btw you don't need the " in it that was just to separate it... so, it should look like client.stop but of course you're gonna need the token and all of that.
@cash8516
@cash8516 3 жыл бұрын
When I run the command, it doeesn't say user has joined a server. Nothing happens
@Burgers21
@Burgers21 3 жыл бұрын
same im looking for a comment with an answer rn
@Shadoukita
@Shadoukita 3 жыл бұрын
if you use discord.py version 1.5.0 and higher you need to activate intents
@nahomtadiyos1266
@nahomtadiyos1266 3 жыл бұрын
the pip install deos not work sad
@yousefhatem3633
@yousefhatem3633 3 жыл бұрын
@client.event async def on_member_join(member): print(f'{member} has joined the server') @client.event async def on_member_remove(member): print(f'{member} has left the server') and when i open the thing and let a member join i didint get a message
@SimonMolin
@SimonMolin 3 жыл бұрын
Same, waiting for a response
@barca8341
@barca8341 3 жыл бұрын
btw why do we use member?
@eishaansiingh7117
@eishaansiingh7117 3 жыл бұрын
Can someone tell me why its saying that discord package not found when im running the code.....FYI im using Visual Studio Code
@trixie5982
@trixie5982 3 жыл бұрын
go to part one and install discord.py
@eishaansiingh7117
@eishaansiingh7117 3 жыл бұрын
@@trixie5982 I have done that already its says Package Installed when im doing it again
@eishaansiingh7117
@eishaansiingh7117 3 жыл бұрын
@rather fjord sure I'll do that
@eishaansiingh7117
@eishaansiingh7117 3 жыл бұрын
@rather fjord Ok thanx will do that 2!
@sorryvol
@sorryvol 4 жыл бұрын
where can i find a list of event that i can use?
@christianname7843
@christianname7843 3 жыл бұрын
discordpy.readthedocs.io somewhere in there
@mike_vahemoubayed8099
@mike_vahemoubayed8099 4 жыл бұрын
Line 12 on 4:04 can’t you do print(member, “has joined a server”)
@dinandroos3408
@dinandroos3408 4 жыл бұрын
You can, but there will be an additional space in the output.
@djhbanaan6635
@djhbanaan6635 4 жыл бұрын
Thanks :D
@RoninxDD
@RoninxDD 4 жыл бұрын
What switches are those on your keyboard?
@namesarnav
@namesarnav 4 жыл бұрын
Seriously man I want that kb too
@mohammedsameer3217
@mohammedsameer3217 4 жыл бұрын
i am not getting the pop up window after running the bot. plss help here
@robertli3600
@robertli3600 3 жыл бұрын
it depends on your run app I get. I don't have one either, instead its installed directly into the app. You have to go in packages, install run script and then u have to run it through packages or the shortcut
@feeshx
@feeshx 4 жыл бұрын
why does my terminal say (member) has joined a server, should it be the user#discrim instead of the (member) text?
@benji862
@benji862 4 жыл бұрын
Having the same problem- Have you solved it yet?
@feeshx
@feeshx 4 жыл бұрын
@@benji862 nope but ive been working on other things
Python: Making a Discord bot (Part 3: Commands)
12:45
Lucas
Рет қаралды 309 М.
Python: Making a Discord bot (Part 7: Cogs)
22:55
Lucas
Рет қаралды 200 М.
MISS CIRCLE STUDENTS BULLY ME!
00:12
Andreas Eskander
Рет қаралды 18 МЛН
EVOLUTION OF ICE CREAM 😱 #shorts
00:11
Savage Vlogs
Рет қаралды 8 МЛН
Why Is He Unhappy…?
00:26
Alan Chikin Chow
Рет қаралды 36 МЛН
Sigma girl and soap bubbles by Secret Vlog
00:37
Secret Vlog
Рет қаралды 14 МЛН
The most important Python script I ever wrote
19:58
John Watson Rooney
Рет қаралды 174 М.
I tried to make a Valorant AI using computer vision
19:23
River's Educational Channel
Рет қаралды 1,4 МЛН
What if my Intel CPU explodes??
14:20
Paul's Hardware
Рет қаралды 6 М.
7 Rules To Make INSTANTLY Awesome Graphic Design (Real Examples)
9:23
Satori Graphics
Рет қаралды 3,3 М.
Python: Making a Discord bot (Part 6: Unban)
10:30
Lucas
Рет қаралды 95 М.
20 Advanced Coding Tips For Big Unity Projects
22:23
Tesseract
Рет қаралды 170 М.
How to write a Discord Role Reaction Bot in Python w/ Discord.py
17:16
Anson the Developer
Рет қаралды 59 М.
MISS CIRCLE STUDENTS BULLY ME!
00:12
Andreas Eskander
Рет қаралды 18 МЛН