How to Create a Discord Bot with Java Discord API

  Рет қаралды 42,633

Kody Simpson

Kody Simpson

Күн бұрын

In this video, I show you how to create a Discord bot using Java and the Java Discord API(JDA). #Java #DiscordBot
JDA: github.com/DV8FromTheWorld/JDA
Code: github.com/KodySimpson/jda-bo...
Join the Community! - / discord
Want to Support the Channel?
Become a Member: / @kodysimpson
or: paypal.me/kodysimpson
My Socials:
Blog: simpson.hashnode.dev/
Github: github.com/KodySimpson
Instagram: / kody_a_simpson
Twitter: / kodysimp
Chapters by D1TZ:
0:00 Intro
1:25 Creating the project
4:40 Importing the Java Discord API
6:00 Coding the bot
8:15 Bot activities
9:40 Creating a Discord Bot application
10:40 Please dont steal my token...
12:00 Adding the bot to the server
14:00 Testing if the Discord bot is working
15:55 Outro, Look in the description to steal this code!
More Videos coming soon.
Leave a comment for any future video suggestions.

Пікірлер: 68
@anthonycattycatmeaw342
@anthonycattycatmeaw342 Ай бұрын
i did not expect a your mom joke in a kody simpson video.
@KodySimpson
@KodySimpson Ай бұрын
;)
@Skreperiukas
@Skreperiukas 2 жыл бұрын
I was about to create a discord bot and you made a tutorial on that. How convenient 😄
@KodySimpson
@KodySimpson 2 жыл бұрын
haha awesome
@thingytv
@thingytv 2 жыл бұрын
ayo?? man's finally back to jda!!1! btw, "jaca" 0:07
@2ncc114
@2ncc114 2 жыл бұрын
Your voice is sweat so you can follow along and yea chill! Keep up bro
@spacesheep6547
@spacesheep6547 2 жыл бұрын
Literally as soon as i needed it
@thomassmail6896
@thomassmail6896 2 жыл бұрын
Awesome video, Thanks! Also love your folder names smh smh haha.
@KodySimpson
@KodySimpson 2 жыл бұрын
hehehe thanks
@TheNamesGlitch
@TheNamesGlitch Жыл бұрын
just to add a tidbit, you may need to manually update your dependencies so the dependencies actually get downloaded
@its_fprime
@its_fprime Жыл бұрын
Thanks man! I was having issues with that. If anyone is wondering the specific fix, right click on the "pom.xml" file, then select "Maven" and click "Reload Project"
@askie013
@askie013 Жыл бұрын
Still works in 2023, the website looks a bit different, API version changed as well but everything else works exactly the same. Great tutorial, can you make a seperate playlist on your channel? I can't find any more videos about creating discord bots in Java on your channel
@jensprome3849
@jensprome3849 2 жыл бұрын
This video helped me creating my own discord bot thanks
@KodySimpson
@KodySimpson 2 жыл бұрын
Glad to hear it
@isaacreich-storer5591
@isaacreich-storer5591 Жыл бұрын
When creating the project, the options you have for maven exc... are not there for me. It has: Maven archetype; Javafx; and a couple more random ones. Which should i choose and how would i go from there
@supern0vva
@supern0vva 2 жыл бұрын
glad to see it
@flame8933
@flame8933 Жыл бұрын
"So playing... with your mom, the bot's playing with your mom"
@ValuedValue
@ValuedValue 2 жыл бұрын
8:48 thats exactly what i wrote before you did LOL
@yashverma5414
@yashverma5414 2 жыл бұрын
I imported my dependencies but it's giving me an error
@larsmars2764
@larsmars2764 Жыл бұрын
Hey , I got a problem. As soon as I want to add my Bot to my server, there's an error appearing with the code "unsupported_response_type" how do I fix that? :/
@fackman74
@fackman74 2 жыл бұрын
"The bot playing with your mom" 😂😂😂
@miamicode7117
@miamicode7117 2 жыл бұрын
Hey chief, I followed this vid, and went back to your old tutorials since it's fun making this bot thing. However, tried to make it reply to a "hello" message and it doesn't work. Followed your steps from your second video in that playlist. Any ideas on how to fix it? Thank u
@KodySimpson
@KodySimpson 2 жыл бұрын
Hi, idk without any information. Thanks for watching anyway
@kralarmerlinkralarmerlin7510
@kralarmerlinkralarmerlin7510 Жыл бұрын
11:25 what do you mean by environmental variables
@sami__07
@sami__07 11 ай бұрын
Hey it will be interessting to make a discord applications t hat link server to discord like the roles
@FrolicGamers
@FrolicGamers 2 жыл бұрын
0:07 Jaca Discord Bot, new language?
@KodySimpson
@KodySimpson 2 жыл бұрын
Yessir!
@derboss66
@derboss66 2 жыл бұрын
ah the good old mom jokes
@Wqsknijper
@Wqsknijper 2 жыл бұрын
Hey, how to add the jar to the compiler so I can install it and then run it on my server?
@KodySimpson
@KodySimpson 2 жыл бұрын
A jar is a compiled thing
@Wqsknijper
@Wqsknijper 2 жыл бұрын
@@KodySimpson I meant the JDA, but found it out already.
@nimaebrahimi4929
@nimaebrahimi4929 2 жыл бұрын
dam boi !
@_starinlove
@_starinlove 2 жыл бұрын
I want to learn how to make it pull requests, any help with that? (I'm pretty new and learning)
@KodySimpson
@KodySimpson 2 жыл бұрын
Yes I will show this
@_starinlove
@_starinlove 2 жыл бұрын
@@KodySimpson thank you!
@rileybrown6226
@rileybrown6226 Жыл бұрын
What compiler are you using???
@Yhappp
@Yhappp Жыл бұрын
intellij its a great compiler
@雪球3605
@雪球3605 2 жыл бұрын
i like this
@KodySimpson
@KodySimpson 2 жыл бұрын
Thanks :)
@arfirik
@arfirik 11 ай бұрын
So i did everything as was done in the video, i get the "Login Successful" prompt, but my bot is still offline in discord
@KodySimpson
@KodySimpson 11 ай бұрын
Hop into our discord community and someone can probably help you
@simonbf1152
@simonbf1152 8 ай бұрын
The fact that I study at school Computer Science for 4 years learning c++ and java and I still don't understand how can I possibly do anything the video has shown makes me wanna give up
@uviolin593
@uviolin593 3 ай бұрын
Bro its just the annoying ass libraries
@ExpandedCuber
@ExpandedCuber 2 жыл бұрын
i stopped making bots cause i used javascript and i cannot get discord.js v13 to work so i might try this cause i loved making bots
@intifadayuri
@intifadayuri Жыл бұрын
Yeah, JS is not very good for anything outside front end web programming
@-V-_-V-
@-V-_-V- Жыл бұрын
Noob question but what compiler are you using?
@akidoo6158
@akidoo6158 Жыл бұрын
intelliJ
@bowen7057
@bowen7057 2 жыл бұрын
YEEEEEEEEEEEEEEEEEEES u use intellij yo cool!!!!!!!!!!!!!!!!!!!!!!!!!
@cameron_bowe
@cameron_bowe 2 жыл бұрын
yurrr
@KodySimpson
@KodySimpson 2 жыл бұрын
yeeeeeeeeeeeeeeeeee
@kingslay3r_186
@kingslay3r_186 Жыл бұрын
wait... what's jaca
@BloxyAaron
@BloxyAaron 2 жыл бұрын
how do we install the api?
@KodySimpson
@KodySimpson 2 жыл бұрын
You mean the exact thing I show in the video?
@BloxyAaron
@BloxyAaron 2 жыл бұрын
@@KodySimpson yes
@BennyAshurov
@BennyAshurov 2 жыл бұрын
KODY HOW YOU VIDEOS GET HIGH VIEWS
@Michael-rt6eq
@Michael-rt6eq 2 жыл бұрын
yoooooo
@RONiNArcade
@RONiNArcade 2 жыл бұрын
FIRST!!!
@pumpkinferret
@pumpkinferret 2 жыл бұрын
SECOND!!!
@BennyAshurov
@BennyAshurov 2 жыл бұрын
ANY APEX ORCALE VIDEO
@KodySimpson
@KodySimpson 2 жыл бұрын
JACA DISCORD BOT YES FUNNY HAHAHAHAHAHAHAHAHAHAHAHAHAH FUUUUUUUUUUUUUUUUUUUUUCK
@MiTask
@MiTask 2 жыл бұрын
@Immortal discord invite works perfectly fine
@MiTask
@MiTask 2 жыл бұрын
@Immortal cuz discord banning ur account and ip
@benmccalmon4895
@benmccalmon4895 Жыл бұрын
I bet you $20 I can guess when your birthday is
@Andrew-xs4qy
@Andrew-xs4qy 2 жыл бұрын
slf4j is not good. should remove that
Java Discord Bot - Event Listeners
17:39
Kody Simpson
Рет қаралды 8 М.
I made a Discord Bot that says Choo Choo
33:15
The Coding Train
Рет қаралды 40 М.
Double Stacked Pizza @Lionfield @ChefRush
00:33
albert_cancook
Рет қаралды 114 МЛН
Clown takes blame for missing candy 🍬🤣 #shorts
00:49
Yoeslan
Рет қаралды 47 МЛН
Каха заблудился в горах
00:57
К-Media
Рет қаралды 9 МЛН
Create a Discord bot using C# and .NET
19:21
Adam Stirtan
Рет қаралды 3,5 М.
Discord Bot with Java and Spring Boot
16:51
Lilium Code
Рет қаралды 4,6 М.
🚀 Create a Chat GPT Bot in Discord (with GPT-4)
21:05
Under Ctrl
Рет қаралды 48 М.
How to make a Discord Bot using Java Discord API (JDA)
16:09
Anson the Developer
Рет қаралды 12 М.
40 APIs Every Developer Should Use (in 12 minutes)
12:23
Coding with Lewis
Рет қаралды 333 М.
Code Your Own Discord Bot - Basics (2024)
11:40
Golden Development
Рет қаралды 19 М.
Create a Custom AI Assistant + API in 10 Mins
10:28
pixegami
Рет қаралды 86 М.
Rate This Smartphone Cooler Set-up ⭐
0:10
Shakeuptech
Рет қаралды 6 МЛН
Что делать если в телефон попала вода?
0:17
Лена Тропоцел
Рет қаралды 3,3 МЛН