Changes:
- Rewritten in typescript
- Fixed security vulnerabilities (updated isomorphic-fetch for "telegra.ph" package)
- Improved search
- now bot is making requests to nhentai's api instead of fetching whole search page every time. Using old method as a fallback because nhentai's api is not stable
- more useful information in description of search results
- Fixed small errors with description text and tags (replacing html tags and spaces in tags)
- Added missing translations
- Added ability to connect to multiple databases to store "users" collection separately
- Code refactoring (functions are smaller, error handling is improved, fixed misspellings in comments and variable names, formatting style is more persistent and other similar changes)
- More variables moved to config file
- Running instance became easier
- TELEGRAPH_TOKEN environment variable became optional
- Now you do not need to provide a url for webhook, it will be detected automatically (only on repl.it and heroku)