A bot that sends a daily amount of JLPT N1-5 (default is N1) Level Kanji.
- Obtain the discord bot token by creating a discord bot - (easy to follow tutorial).
- Find the channel id by copying any message sent in the channel; the link will follow this pattern: https://discord.com/channels/server_id/==channel_id==/message_id e.g. https://discord.com/channels/7622263111111128/==7683414443731611111==/82223705605411111
- Create a Heroku app.
- Setup the environment variables (discord bot token and the channel id) on the Heroku app settings.
- Fork the current repository.
- Deploy it on Heroku by pushing.
- Make sure the worker is enabled on the resources tab on Heroku.
- Alternatively you can run it on your machine or another server and uncomment the generated-picture code to get image + text.
- The image comments don't work with Heroku due to an error when deploying with dataframe_images library.
- There's no commands, it's a scheduled job that activates every 24 hours, just deploy it to Heroku.
- You can change the JLPT level by editing the config file (VALUES: 1-5)
- Also in the config, you can specify the amount of kanji posted (default: 5)
The JLPT Kanji datasets is provided by kanji-data.