By the end of this tutorial you will have a Discord bot hosted 24/7, for free, forever, on Val Town, that responds to a basic /ping
Slash Command.
Val Town is a social website to write, and deploy JavaScript from the browser.
No prior coding experience required. The vast majority of this tutorial is creating the bot on Discord and pasting your keys into Val Town. The actual coding parts are just clicking Run two times to fork over two pieces of code to your Val Town account.
<aside> đź’ˇ If you get stuck, come join us in the Val Town Discord!
</aside>
If you prefer videos, here’s this same tutorial in a 3-minute YouTube video.
To invite your new bot to your server, you need to generate a link to click on.
bot
scope, then the Send Messages
permission.