The cutest Discord bot you'll ever meet ✿✼:*゚:.。
June-bot is a Discord bot with Dialogflow integration. Traditionally, Discord commands are invoked with a prefix and pre-configured words (e.g. ~help
as a command).
Dialogflow allows June to instead process commands using natural language.
This isn't just limited to commands -- simple conversations can be held when the user's input is not interpreted as a command.
June uses Dialogflow's 'small talk' feature, which isn't capable of much more than simple responses to simple questions. However, one could easily have fallback responses instead hooked up to Cleverbot or a similar tool to provide richer, context-aware conversations.
This was a originally a bit of a pet project for myself to learn JavaScript. I did learn a lot and have since upgraded to TypeScript, so now I'm releasing this project for others to use as an example when integrating Discord and/or Dialogflow in TypeScript. I will likely have to stop developing this bot soon, so I am hoping the project will be helpful for anyone aspiring to make a Discord bot with these tools.
I think the Discord community would greatly benefit from more bots using natural language for ease-of-use, role-playing, and so much more.
June is not set up for public servers. If you'd like to clone the repository to try it for yourself, a simple npm install
should set you up with the needed dependencies. I'll soon be providing instructions for setting up the Dialogflow end.
Outside of small talk, currently only a few commands (this is not unlike most programmers). Dialogflow can be used to trigger any command you can implement in a Discord bot, though, and can be trained to parse user input for arguments. June's current command list will soon be provided in the wiki.
June's picture comes from ガオ maker on Picrew.
Feel free to open an issue or reach out to me on Discord at bigcookie#7513 .