Making Tetris Using Discord's Bot API

  Рет қаралды 52,164

Will 404

Will 404

Күн бұрын

Coding a Tetris game that can be played in any Discord server...
In this video, I use Discord's Bot API to code Tetris as a Discord bot. Shoutout to PolyMars for showing me you can make a game using Discord but I wanted to take it to the next level with this one...
👨‍💻 Here's the full code: github.com/wil...
⭐️ New viewers:
I cover all things coding, such as app development, web development, artificial intelligence (AI), machine learning, game development, and more! If you're interested in any of these things make sure you hit that subscribe button :)).
🎵 Credit:
-------------------------------------------------------------------------
Music: Evan King - Wood
/ @contextsensitive
contextsensiti...
-------------------------------------------------------------------------

Пікірлер: 205
@Will-404
@Will-404 2 жыл бұрын
Btw shoutout to PolyMars for the vid inspiration, and sorry I haven't uploaded in ages 😬😬. Gonna be uploading a lot more from here on out tho 🤞
@thelowspecpc9582
@thelowspecpc9582 2 жыл бұрын
Mannn, I feel bad for you. You only have 212 subscribers even tho you make better videos than higher subscribed channels. I made a youtube shorts spam bot on my alt account using selenium Web Automation and got 3.8k subs before it got shut downed by youtube. I might do this again with a slight approach like giving myself 2k subs through the same method then putting actual content like meme vids. I am now working on Automated meme vid creator or something like that. I hope your channel grow. Peace ✌.
@letruxux
@letruxux Жыл бұрын
kewl
@Kidplayzgamez
@Kidplayzgamez 3 ай бұрын
Heyy
@jackuk2700
@jackuk2700 2 жыл бұрын
I was so surprised when I watched the video, looked down and saw how many views it has. You deserve so much more. Such a good video concept as well as amazing execution.
@Will-404
@Will-404 2 жыл бұрын
Damn I really appreciate that dude thank you
@Monkeymario.
@Monkeymario. 3 ай бұрын
um
@rotnchocolate
@rotnchocolate 3 ай бұрын
respecting you for eating the chocolate because of a discord limitation
@Will-404
@Will-404 3 ай бұрын
hard regrets 🥴
@star80doessdastuff
@star80doessdastuff 3 ай бұрын
Why you ain't even over 2,000 subs this is lit 😭😭 wish you the best of luck in the future.. remember me when you get popular, no matter how long it takes.. it will happen eventually, you deserve it
@Will-404
@Will-404 3 ай бұрын
absolutely love comments like these, thank you so much 🙏🏼
@swem0ry
@swem0ry 2 жыл бұрын
dude this is impressive asf, you deserve more views, this is some gold content. subscribing. also, I under that the realtime play is probably trashy, but, itd be real cool if you allowed us to invite the bot to our servers. it doesnt have to be perfect, it just has to work, right? ps: good on you for eating that chocolate, hope youre doing okay after that 😭
@Will-404
@Will-404 2 жыл бұрын
you a legend for this comment, ty bro. I think it would be cool to host it somehow but I'm p sure it'll cost money and need more code added, and id rather put that into smth cooler I think. also yh I'm just about fine lmao
@LilacPicniz
@LilacPicniz 11 ай бұрын
@@Will-404 well you can add it to replit and host using uptimerobot..
@RuskyDev
@RuskyDev 4 ай бұрын
@@Will-404 I'll cover the hosting fees make it stable
@Monkeymario.
@Monkeymario. 3 ай бұрын
how is this impressive
@izaanhafid
@izaanhafid 3 ай бұрын
706 SUBS ONLY?! BRO THAT IS CRIMINALLY UNDERRATED. I THOUGHT THIS WOULD HAVE LIKE 200K
@Will-404
@Will-404 3 ай бұрын
Lmao I wish bro
@izaanhafid
@izaanhafid 3 ай бұрын
@@Will-404 keep working at it and youre gonna succeed. you got the formula for success all you need is time. big fan
@Will-404
@Will-404 3 ай бұрын
thank you so much, means a lot fr
@Ohhmymy
@Ohhmymy 2 жыл бұрын
Really nice video! Motivating me to code myself a game :)
@Will-404
@Will-404 2 жыл бұрын
that's sick, you 100% should do you'll enjoy it. You have any ideas what you're gonna make?
@deepfakes4567
@deepfakes4567 2 жыл бұрын
what i love is that he gives us the cdoe so we can make our own and obviously im too lazy to copy the entire code so im just gonna add thst bot
@Turtlegamer.
@Turtlegamer. 3 ай бұрын
Its called opensource
@deepfakes4567
@deepfakes4567 3 ай бұрын
@@Turtlegamer. This is two years old why did you reply
@le9038
@le9038 3 ай бұрын
This is quite a good video! Good on you!
@Will-404
@Will-404 3 ай бұрын
Thanks man 😁
@Monkeymario.
@Monkeymario. 3 ай бұрын
0:15 plz just eat it anyways even if it turns ou good
@Monkeymario.
@Monkeymario. 3 ай бұрын
5:32 YAY HE EAT CHOCOLATE 5:32
@Will-404
@Will-404 3 ай бұрын
lmao
@onesadapple5220
@onesadapple5220 2 жыл бұрын
Just found your channel and its great so im subbing
@Will-404
@Will-404 2 жыл бұрын
damn I appreciate that dude thank you
@for3st945
@for3st945 2 жыл бұрын
Only 400 view wth. Your content is hella good bro !
@Will-404
@Will-404 2 жыл бұрын
Love comments like this, thanks a lot man. 400 views is still good in my eyes tho 👀👀
@muskhan
@muskhan 2 жыл бұрын
Nice one Will. Is the bot available to add in servers?
@Will-404
@Will-404 2 жыл бұрын
Tbh I decided it wasn't really worth hosting it just bc it sucks playing it in real time. If they ever up the rate limit (doubt) I'll prob host it tho. Also ty sir 🙏
@umbralstudios5957
@umbralstudios5957 2 жыл бұрын
add it anyways
@UnknownBurgerr
@UnknownBurgerr Жыл бұрын
@@Will-404 bro add it people want this bot
@Will-404
@Will-404 Жыл бұрын
I'm p sure I can't since it'll get rate limited like mad :/
@ProSureString
@ProSureString 3 ай бұрын
@@Will-404provide the source code so people can host it themselves!
@Monkeymario.
@Monkeymario. 3 ай бұрын
5:32 YAY HE EAT CHOCOLATE
@kano7837
@kano7837 10 ай бұрын
oh bro thats sick, any chance to get this as js please ??
@Rubblage
@Rubblage 2 жыл бұрын
Damn good video, do u have a discord server?
@Will-404
@Will-404 2 жыл бұрын
thanks dude 🙏, I don't have one rn but hopefully in the future 👀
@krishsamraj
@krishsamraj Жыл бұрын
OK! First PolyMars Now This?
@Will-404
@Will-404 Жыл бұрын
definitely took a lot of inspiration from him I can't lie
@Mutrax4706
@Mutrax4706 3 ай бұрын
does the bot automatically edit the messages because the event for edited message is constantly triggered? or is it because the python version just runs passively? cuz ik javascript uses event triggers, so im a little confused how your code just runs passively
@Will-404
@Will-404 3 ай бұрын
I pretty much botched this together so I forgot lmao sorry. But I think it's the first thing which is why it's limited to only editing it once a minute, otherwise it gets rate limited.
@Mutrax4706
@Mutrax4706 3 ай бұрын
@@Will-404 well the edit being done through an event trigger or smth else shouldnt be much of a difference in the limit. making a new edit still is an API request
@Will-404
@Will-404 3 ай бұрын
Ah I have no idea then lol sorry, I've never really been very familiar with API calls and that, I just pretty much googled the easiest thing to do 😬
@memeow9848
@memeow9848 2 жыл бұрын
How to I put it on my server?
@Luna5829
@Luna5829 3 ай бұрын
he put the code in the description
@4ntizero
@4ntizero 3 ай бұрын
@@Luna5829not everyone knows how to make a discord bot. also this comment was a year ago 😭
@Luna5829
@Luna5829 3 ай бұрын
@@4ntizero nuh uh
@ventikoi
@ventikoi 3 ай бұрын
​@@4ntizero you really think he's got the money to not only release the bot but to keep the bot running on multiple servers for as long as it can?
@epicboy330
@epicboy330 3 ай бұрын
@ventikoi_ You do realize it doesn’t cost money to run a Discord bot right? It just costs time, which is why most bots have a paid tier.
@Voyek
@Voyek 3 ай бұрын
Can you add 7 bag to make the Tetris feel more consistent rather than making it random?
@matishere
@matishere 2 ай бұрын
Bru I’ll eat the chocolate myself after seeing this
@Cate_isOk
@Cate_isOk Жыл бұрын
5:31 😂😂😂 LOL SO FUNNY 😂😂😂
@Will-404
@Will-404 Жыл бұрын
it was torture 😭😭
@Monkeymario.
@Monkeymario. 3 ай бұрын
0:57 use stickers
@Redzite
@Redzite 2 жыл бұрын
how do i get it in my server
@roiknight5364
@roiknight5364 Жыл бұрын
Can it run doom though?
@Will-404
@Will-404 Жыл бұрын
lmaooo workin on it
@ByteBeacon9660
@ByteBeacon9660 5 ай бұрын
why didn't you use normal discord buttons? or those weren't around in 2022?
@Will-404
@Will-404 5 ай бұрын
Yeah I'm not even sure I've seen them so don't think so 🫣
@crisfreire9404
@crisfreire9404 3 ай бұрын
*can he run doom tho?* (btw this is perfection. i really thought that i was trippin)
@chencyjames
@chencyjames 2 жыл бұрын
Just start playing dc, and it is great to watch your video, hope you will make this game perfect to run. btw, where to buy the chocolate. I want to try.
@Will-404
@Will-404 2 жыл бұрын
thank you dude, I got it from a website called firebox 🙃
@arctic_angel7408
@arctic_angel7408 4 ай бұрын
this aint bad at all this is cool asf
@Will-404
@Will-404 4 ай бұрын
I think if you played the game you might disagree lmao but thank you bro
@merc4644
@merc4644 4 ай бұрын
Can you update it so it can go back online or put the source code up so someone else can?
@bryceblazegamingyt9741
@bryceblazegamingyt9741 3 ай бұрын
Why did you do a ton of math for rotation when you could have just had hard coded shapes for different rotations
@Will-404
@Will-404 3 ай бұрын
Smh yeah I think I probably should've just done it that way 🥴 That woulda saved me so much time lmao
@champion_ofcloud-var
@champion_ofcloud-var 3 ай бұрын
this is literally how fast the tetris pieces fall originally, what are you talking about
@Will-404
@Will-404 3 ай бұрын
Lmaoo exactly
@wolfrust0
@wolfrust0 3 ай бұрын
i smell a underated youtuber
@Will-404
@Will-404 3 ай бұрын
thanks man
@wolfrust0
@wolfrust0 3 ай бұрын
@@Will-404 :D
@Ramej
@Ramej Жыл бұрын
how do i make the repl run forever?
@Will-404
@Will-404 Жыл бұрын
don't think you can do that anymore but not 100% sure
@Ramej
@Ramej Жыл бұрын
@@Will-404 i was wondering why the square changing variable is never used in the code too i tried making the bot and it works fine, but it won't display the game over screen after i clicked the X reaction
@tasos5005
@tasos5005 3 ай бұрын
The big question: Can you do a T-Spin in this?
@blockman_games17
@blockman_games17 3 ай бұрын
but can it run doom?
@idreesahmad-d6b
@idreesahmad-d6b Жыл бұрын
good job i used this as a tutorial keep up the good work!!
@Will-404
@Will-404 Жыл бұрын
thanks dude, I'm glad it helped
@aaofficial4070
@aaofficial4070 Жыл бұрын
Do you have a bdfd version code, if so I will subscribe and keep watching your videos
@WextraYT
@WextraYT 9 ай бұрын
whats bdfd?
@JizzyDipper
@JizzyDipper 2 ай бұрын
erm what in the rate limit????
@oAnshul
@oAnshul 2 жыл бұрын
can we get the codes please? Tho this was pretty fun to watch and should get wayyy more views
@Will-404
@Will-404 2 жыл бұрын
thank you sm dude, I'll see if I can get the code uploaded when I'm home 🙃
@Will-404
@Will-404 2 жыл бұрын
Sorry the codes a complete mess but here ya go: github.com/willcantcode/Tetris-Discord-Bot
@oAnshul
@oAnshul 2 жыл бұрын
@@Will-404 man its really smart taking the fact that u coded it in python which gets challenging great job, keep it up
@Will-404
@Will-404 2 жыл бұрын
@@oAnshul damn thank you dude ❤️
@elenamednaya9399
@elenamednaya9399 2 жыл бұрын
That was really good!👏Is there a way to add him in my server?
@Will-404
@Will-404 2 жыл бұрын
Thank you :) I've not made it possible just yet but since so many people are asking I think ima have to look into it a bit more
@joelgonzalez1571
@joelgonzalez1571 Жыл бұрын
This is just what I needed ty!!!!
@Will-404
@Will-404 Жыл бұрын
ahaha no worries ❤️
@theyoungcoder
@theyoungcoder 3 ай бұрын
Gold, you just earned a sub
@Will-404
@Will-404 3 ай бұрын
Thanks bro 🙏🏼
@minecrafteksperten
@minecrafteksperten Жыл бұрын
this guy underated
@Will-404
@Will-404 Жыл бұрын
thanks dude 🙂
@Mr_Uras
@Mr_Uras 2 жыл бұрын
How tf are you not 10k subs
@Will-404
@Will-404 2 жыл бұрын
lmao I been thinking the same thing 🤔
@VnM-vm3wm
@VnM-vm3wm 2 жыл бұрын
Don't do that my man deserves more
@Will-404
@Will-404 2 жыл бұрын
@@VnM-vm3wm legend
@AI__Machine
@AI__Machine 2 жыл бұрын
ONLY 1.4k views on this uplaoded 2 months ago, bruh. insta sub, im ur 206th sub
@Will-404
@Will-404 2 жыл бұрын
love this, thank you dude
@AI__Machine
@AI__Machine 2 жыл бұрын
@@Will-404 OMG
@FamTech.
@FamTech. 3 ай бұрын
Here before this blows up gang! 👇
@DccToon
@DccToon 3 ай бұрын
the video is 2 years old
@Will-404
@Will-404 3 ай бұрын
never say never 🫣
@FamTech.
@FamTech. 3 ай бұрын
@@DccToon yeah but I have seen videos blow up after 10 years
@DccToon
@DccToon 3 ай бұрын
@@Will-404 bro just casually appeared (yay)
@Will-404
@Will-404 3 ай бұрын
lmao I read every comment
@carlosandrecastoldi2544
@carlosandrecastoldi2544 2 жыл бұрын
can u disponibilize the link to invite?
@hust_man
@hust_man 3 ай бұрын
great video!!
@Will-404
@Will-404 3 ай бұрын
Thank you man 🙏🏼
@kollpotato
@kollpotato 3 ай бұрын
never let bro cook in python
@Will-404
@Will-404 3 ай бұрын
lmaoo
@Phoenix_2333
@Phoenix_2333 3 ай бұрын
Will I need intents
@Will-404
@Will-404 3 ай бұрын
bro I don't even know what they are 😭
@kollpotato
@kollpotato 3 ай бұрын
@@Phoenix_2333 depends if you want to use message commands or slash commands, use MESSAGE_CONTENT intent for accessing message content
@defeatSpace
@defeatSpace 3 ай бұрын
Do bots hate for loops??>?
@defeatSpace
@defeatSpace 3 ай бұрын
Oh, hey, I see one for loop!
@Will-404
@Will-404 3 ай бұрын
lmaoo let me be bro 😭
@decablade
@decablade 2 жыл бұрын
Amazing video! You should try making another discord bot since watching this video is so fun. You could update the bot to make the game use button 😏
@Will-404
@Will-404 2 жыл бұрын
ahaha maybe I will 👀, and thank you!!
@ShakirAnwarArhaan_Arsh
@ShakirAnwarArhaan_Arsh 2 жыл бұрын
Subscribed and liked keep it up bro also pls make a video on how to get a free vps and bot api
@Will-404
@Will-404 2 жыл бұрын
thank you dude! and yh I'll have to have a look into it 🙃
@charmander328
@charmander328 2 жыл бұрын
Underrated channel
@Will-404
@Will-404 2 жыл бұрын
🥹 thank you 🙏
@lilychuuchuu
@lilychuuchuu 2 жыл бұрын
Can you make it so it works in multiple servers at once?
@Will-404
@Will-404 2 жыл бұрын
yh just means hosting it somehow, which usually costs money so I didn't bother
@lilychuuchuu
@lilychuuchuu 2 жыл бұрын
@@Will-404 No like making it so 2 different servers or 2 different people can play tetris at the same time. I thought it was a code issue that prevented it from doing that, is it not?
@lilychuuchuu
@lilychuuchuu 2 жыл бұрын
@@Will-404 What's your discord I could better explain it there
@lilychuuchuu
@lilychuuchuu 2 жыл бұрын
@@Will-404 Hello?
@lilychuuchuu
@lilychuuchuu 2 жыл бұрын
@@Will-404 added
@ItsYaBoY119
@ItsYaBoY119 5 ай бұрын
Hi I have this in my discord bot. Is that okay?
@Will-404
@Will-404 5 ай бұрын
What do you mean?
@Adodamo23
@Adodamo23 3 ай бұрын
3:48 today at 0:11 am
@DevXP
@DevXP 3 ай бұрын
👍
@KianDoherty
@KianDoherty 2 жыл бұрын
good video man subbed
@Will-404
@Will-404 2 жыл бұрын
means a lot, thank you dude ❤️
@hdhhh1517
@hdhhh1517 11 ай бұрын
Can you make an invite link?
@Fox._.vr01
@Fox._.vr01 Жыл бұрын
Where can you get it 😅
@Will-404
@Will-404 Жыл бұрын
you can't rn unfortunately - but the code is in the description if you wanna make the bot for yourself :)
@mandaxgutirrex2674
@mandaxgutirrex2674 Жыл бұрын
bro how i get this bot to my server?
@Will-404
@Will-404 Жыл бұрын
you have to create the bot yourself using my code in the description unfortunately
@optreee6153
@optreee6153 2 жыл бұрын
HOW TO DO THE CODING???
@F1PROX407
@F1PROX407 Жыл бұрын
can we do some T spin ?
@Will-404
@Will-404 Жыл бұрын
I think so? Can't really remember anymore tbh
@F1PROX407
@F1PROX407 Жыл бұрын
@@Will-404 I'll try
@Milkguy33
@Milkguy33 3 ай бұрын
1:16 should we tell him about the for loop?....
@Will-404
@Will-404 3 ай бұрын
lmaooo how did I not think about that 🤦🏼‍♂️
@Milkguy33
@Milkguy33 3 ай бұрын
@@Will-404 lool btw, did you thought abous using Pillow module to draw the game screen?
@Will-404
@Will-404 3 ай бұрын
Nah would that have been helpful? I've not really used Pillow loads
@Milkguy33
@Milkguy33 3 ай бұрын
@@Will-404 try it for a side project, pretty cool library that can work with images
@Will-404
@Will-404 3 ай бұрын
Yh it is good tbf, I have used it just didn't know it would be applicable for this
@godfather2025
@godfather2025 2 жыл бұрын
Bro you are amazing 👍
@Will-404
@Will-404 2 жыл бұрын
you legend
@samuraiX4049
@samuraiX4049 5 ай бұрын
really cool bot but how do i get it?
@Will-404
@Will-404 5 ай бұрын
I haven't made it available sorry. Actually playing it is hella boring though so you're not missing a lot
@samuraiX4049
@samuraiX4049 5 ай бұрын
@@Will-404 k but it would be really cool to have
@stick_z
@stick_z Жыл бұрын
code not working
@Will-404
@Will-404 Жыл бұрын
oh idk what's happened then, sorry dude
@stick_z
@stick_z Жыл бұрын
@@Will-404 can u give me bot link
@Will-404
@Will-404 Жыл бұрын
Im not able to host it sorry :/
@Skyoow-games
@Skyoow-games 2 ай бұрын
Copy?
@Dkzz001
@Dkzz001 2 жыл бұрын
but have a code 127 is a bug
@Will-404
@Will-404 2 жыл бұрын
you mean line 127? What's wrong with it 😳
@Dkzz001
@Dkzz001 2 жыл бұрын
Have bugued
@zacksayder
@zacksayder Жыл бұрын
Freakin cool
@Will-404
@Will-404 Жыл бұрын
you're freakin cool‼️
@Belbasaur3
@Belbasaur3 3 ай бұрын
700th sub!!!!!
@Will-404
@Will-404 3 ай бұрын
hellllll yeah buddy thank you!!
@Belbasaur3
@Belbasaur3 3 ай бұрын
@@Will-404 Happy to help! :D Keep up the good work :) love ur vids
@Will-404
@Will-404 3 ай бұрын
you legend, thank you
@Belbasaur3
@Belbasaur3 3 ай бұрын
@@Will-404 :D
@hhhcirA
@hhhcirA 2 жыл бұрын
TRY TO T SPIN
@Will-404
@Will-404 2 жыл бұрын
just tried it and it didn't work lol, maybe idk how to do it right tho 🤷🏼‍♂️
@niggamanjr
@niggamanjr 2 жыл бұрын
and this video is not viral why???
@Will-404
@Will-404 2 жыл бұрын
lmaoo that's what I'm saying
@VnM-vm3wm
@VnM-vm3wm 2 жыл бұрын
The KZbin aglorithm
@theguyr1234_scratch
@theguyr1234_scratch 2 ай бұрын
u didnt lose the challange @Will-404
@Will-404
@Will-404 2 ай бұрын
Ty bro 🙏🏼
I Made Snake With 30,000 Players
7:28
PolyMars
Рет қаралды 554 М.
I Hacked a Discord Bot, the Owner said this...
9:09
No Text To Speech
Рет қаралды 1,3 МЛН
Every parent is like this ❤️💚💚💜💙
00:10
Like Asiya
Рет қаралды 25 МЛН
إخفاء الطعام سرًا تحت الطاولة للتناول لاحقًا 😏🍽️
00:28
حرف إبداعية للمنزل في 5 دقائق
Рет қаралды 77 МЛН
How do Cats Eat Watermelon? 🍉
00:21
One More
Рет қаралды 14 МЛН
Making a Game With Discord's Bot API
10:39
PolyMars
Рет қаралды 2,6 МЛН
I Made a Zero Player Game
12:30
Sam Hogan
Рет қаралды 10 МЛН
I made a Battle Royale Game in my Discord Server
12:56
Jelle Vermandere
Рет қаралды 205 М.
I Made an AI with just Redstone!
17:23
mattbatwings
Рет қаралды 1 МЛН
I Made My Own Discord Bot
5:17
NathanOnDev
Рет қаралды 39 М.
This Discord Server is Disgusting
17:49
No Text To Speech
Рет қаралды 1,3 МЛН
After 34 Years, Someone Finally Beat Tetris
16:47
aGameScout
Рет қаралды 14 МЛН
I made Wordle… but it’s a Discord Bot!
3:51
AIA
Рет қаралды 14 М.
Can you fit a whole game into a QR code?
20:03
MattKC
Рет қаралды 9 МЛН
Ruining Discord Servers with a Bot Exploit!
9:32
No Text To Speech
Рет қаралды 520 М.
Every parent is like this ❤️💚💚💜💙
00:10
Like Asiya
Рет қаралды 25 МЛН