Conversational Bot using Discord.js + Dialogflow API
A workshop introducing javascript to build discord bots using discord.js and integrating the bot using Google's Dialogflow API to make it work like a chatbot.
Topics of Discussion:
Register for a discord bot API key in the discord dev portal.
Create your own custom discord bot in JavaScript using Discord.js
Create and authenticate chatbots on Google's Dialogflow platform.
Integrate Dialogflow's NLP ability with Discord.js to create a working chatbot to converse with.
Pre-requisites:
Some programming knowledge. Knowledge of JavaScript isn't required, but good to have.
A Google account for setting up Dialogflow API.
Discord account and a discord server which you are an admin of (only then you can add the bot)
Reference Links:
Reference GitHub repo: https://github.com/hackclubnmit/workshops/tree/master/010-Sep-13-2020
Bot Docs: https://discord.js.org/
Authentication: https://cloud.google.com/docs/authentication/getting-started
Using Dialogflow: https://github.com/googleapis/nodejs-dialogflow#using-the-client-library
Dialogflow console: https://dialogflow.cloud.google.com/
Discord developers portal: https://discord.com/developers
Bot permissions calculator: https://discordapi.com/permissions.html
Registration is mandatory to attend the event!
Follow us on social media platforms: