An open API service indexing awesome lists of open source software.

https://github.com/vycktorstark/nathy

Nathy is a virtual assistant with basic artificial intelligence, she was developed in Python, her structure and plugins were created using lib Telepot and her artificial intelligence was used AIML
https://github.com/vycktorstark/nathy

ai aiml aiml-interpreter telegram-bot telepot virtual-assistant

Last synced: about 2 months ago
JSON representation

Nathy is a virtual assistant with basic artificial intelligence, she was developed in Python, her structure and plugins were created using lib Telepot and her artificial intelligence was used AIML

Awesome Lists containing this project

README

        

* * *
_ _ _ _
| \ | | __ _| |_| |__ _ _
| \| |/ _` | __| '_ \| | | |
| |\ | (_| | |_| | | | |_| | By: Vycktor Stark
|_| \_|\__,_|\__|_| |_|\__, |
/___/


* * *

## Getting Started

These instructions will give you a copy of the project for you to use for development and testing purposes.

#### What is it?

Nathy is a virtual assistant who has basic artificial intelligence, she was developed in Python, her structure and plugins were created using lib [Telepot](https://github.com/nickoala/telepot) and her artificial intelligence was used [AIML](https://pypi.org/project/python-aiml/)
* * *

## Configuring bot

You should have your machine updated, and have Python (3.5 +) and pip (8.1+) installed, plus some libs: telepot, objectjson, requests, simplejson. What you need to do to install and use the project:

```
# Tested on Ubuntu 14.04, 15.04 and 16.04, Debian 7, Linux Mint 17.2

$ sudo apt-get update
$ sudo apt-get upgrade
## To install the libraries, just run run.sh and select option 5 or execute:
$ sudo pip install -r requirements.txt
```
Cloning the repository:
```bash
# Cloning the repository and giving the permissions to start the initiation script

$ git clone https://github.com/VycktorStark/Nathy.git

```

**First of all, take a look at your bot settings:**

> • Make sure privacy is off (more information on the [Bots official FAQ page](https://core.telegram.org/bots/faq#what-messages-will-my-bot-get)). Send `/setprivacy` for [BotFather](http://telegram.me/BotFather) To check the current setting.

**Before doing anything, open the `config.py` file and with a text editor make the following changes:**

> • Set your Telegram ID to admin (in the `sudo` field).
>
> • Defina o ID do grupo Administradores (no campo `Chatsuporte`).
>
> • Set `TOKEN` with the authentication token received from the [BotFather](http://telegram.me/BotFather).
>

## Initialization process

To start the bot, execute `cd Nathy/ && sudo chmod 777 run.sh && ./run.sh`. To stop the bot, press `Ctrl + c` twice.

You can also start the bot with `cd Nathy/ && pyhton3 main.py`, but then it will not restart automatically.