Skip to content
← Back to Community
How do I apply my code on a discord bot?
Profile icon
NimishP

Hello,

I wanted to make a Discord bot just for the fun of it. I used the java coding language. How would I upload it onto discord for it to become a bot? I have already made an application and a bot on discord, i just need to upload the content of the bot onto discord. Can you tell me how to do it step by step?

Thanks!

Voters
Profile icon
WokeUp
Profile icon
XxSmileyXx
Profile icon
LucaChiaramonti
Profile icon
witoldsz
Profile icon
NimishP
Comments
hotnewtop
Profile icon
ike_fite
  1. Log in the bot using the token from the bot account.
  2. That's about it!
Profile icon
Mosrod

You would create a bot application here.

Profile icon
NimishP

@Mosrod I have already done that, but how do I put my code onto the bot?

Profile icon
Mosrod

@NimishP Use a Discord API (DiscordJS), and use the Token to connect it to the Discord Application

Profile icon
NimishP

@Mosrod But I coded it in java, would there be a way to put my java program onto the bot?

Profile icon
Mosrod

@NimishP Check out this tutorial on Medium for Discord Java: Click Here