https://github.com/sirywell/impersonation
Create AI based bots for chat services like telegram and discord easily
https://github.com/sirywell/impersonation
dialogflow discord discord-bot java telegram telegram-bot
Last synced: about 2 months ago
JSON representation
Create AI based bots for chat services like telegram and discord easily
- Host: GitHub
- URL: https://github.com/sirywell/impersonation
- Owner: SirYwell
- Created: 2019-01-22T23:52:43.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-17T00:52:00.000Z (over 7 years ago)
- Last Synced: 2026-02-18T03:49:15.156Z (4 months ago)
- Topics: dialogflow, discord, discord-bot, java, telegram, telegram-bot
- Language: Java
- Homepage:
- Size: 25.4 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Impersonation
[](https://app.codacy.com/app/hannesgreule/Impersonation?utm_source=github.com&utm_medium=referral&utm_content=SirYwell/Impersonation&utm_campaign=Badge_Grade_Dashboard)
This project is for simple interactions between a chat service like Discord
and [Dialogflow](https://dialogflow.com). It supports multiple bot instances
using a own thread per instance.
All bots are set up using a config file.
## Setup
To start the program, you can simply use the command line:
`$ java -jar impersonation-VERSION.jar ` where <config> is a json file
in the following format:
```json5
{
"bots": [
{
"name": "Chat Service name",
"chat_service": "java.class.implementing.ChatService"
// further settings, see documentation of the implementing chat service
}
]
}
```
For example, if you want to have a discord bot:
```json
{
"bots": [
{
"name": "My Super Intelligent Discord Bot",
"chat_service": "de.hannesgreule.chat.impersonation.discord.DiscordChatService",
"discord_token": "your token here",
"dialogflow_project": "your project id here",
"google_credentials": "your google credentials file here"
}
]
}
```
It's simple, isn't it?
## TODOs
* Add Telegram support
* Add support for inlining google credentials
* Abstract the project into chat service and impersonation
## Contributing
Feel free to add cool stuff. Just create a Pull Request and let's discuss!