Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jarvis394/tihon-ts
Typescript version of the bot
https://github.com/jarvis394/tihon-ts
Last synced: about 14 hours ago
JSON representation
Typescript version of the bot
- Host: GitHub
- URL: https://github.com/jarvis394/tihon-ts
- Owner: jarvis394
- Created: 2019-11-15T19:49:44.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T02:11:17.000Z (almost 2 years ago)
- Last Synced: 2023-03-02T21:35:54.042Z (almost 2 years ago)
- Language: TypeScript
- Homepage: https://dedtihon.cf/
- Size: 1.91 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Grandpa Tihon
> A bot that sends incomprehensible crap into a conversation, and even randomly. From the village, what to say.
##### _- [Vatslav Tarnatovski](https://vk.com/tarnatovski)_
## Usage
To add bot, go to [VK userpage](https://vk.com/tihon_bot) and add **bot to friends list**.
Then, you can actually start using bot by typing commands, starting with `/` or `@tihon_bot`.## Commands
See [bot's website](https://dedtihon.cf/commands)
## Running
```
git clone https://github.com/jarvis394/tihon
cd tihon
npm install
```**IMPORTANT!** After these steps you must provide **USER**'s VK API token and other enviroment constants in `.env`. Then just type
```
npm start
```to run bot by yourself.
## Todo
Global:
- ~~Learn TypeScript to get rid of some checking~~
- ~~Make an API~~
- Translate everything to English, even `/random`Needed:
- ~~Add unified timeouts for commands~~
- Get results of every command written with command log
- Log data changes for debugging
- Recursively check commands filetree to get **`parents`** and **`children`** of commands.
For example,```javascript
// Parent
- guild/// Children
- create { aliases: [ ...] }
- leave { aliases: [ ... ] }
...
```
## CreditsMy VK: [@tarnatovski](https://vk.com/tarnatovski)
My GitHub: [@jarvis394](https://github.com/jarvis394)