A Telegram bot. Can repeat your words and notify you. Also checks your authorization.
Current features:
- Reminding about future events.
Future features:
- Reminding about the next lecture. A classroom, a lecturer's name and other useful things.
- Accessing notes repository.
- Unit and integration bot testing
How to create a bot copy. Assuming mysql installed:
- Fork the repository
- Create config.json. Add to the "Token" field your bot token.
- Create keywords.json. Add to the "Keyword" field your keyword.
- Set up a database
- Launch the bot.
- (optional) Delete keywords.json. The bot has generated a salted keyword, it doesn't need a plain-text keyword.
How to set up a database:
- Create a "TelegramBot" user in your database.
- (optional) Change a database name in the sql scripts.
- Create a database with a default "WaspDatabase" or your chosen name.
- Execute a script creating the tables.
- Set a databaseConfig.json. Set a TelegramBot user password. Set your server and database name. Add the Internet protocol used to connect to the database server. (ProtocolType)
The bot configuration constants: kNotificationsRefreshTime — how often look for expired notifications kUTCTimeZone — a timezone