This bot allows users to keep track of their attendance and remain updated with schedule of their classes.
To use
Bunku the bot, you can simply call it with @Bunku
followed by a command,
like so:
@Bunku <command>
- Clone the python-zulip-api repository
git clone https://github.com/zulip/python-zulip-api.git
- Navigate into your cloned repository
cd python-zulip-api
- Install
pip install virtualenv
- Install all requirements in a Python virtualenv
python3 ./tools/provision
- Activate python3 virtual environment
- Install
pip install zulip_bots
- Install
pip install graphqlclients
- Clone Bunku-the-Bot repository
https://github.com/ac-alpha/Bunku-the-Bot.git
- Navigate into bot repository
- Run the bot using command
zulip-terminal bunku
- Add the bot to zulip workspace and download the zuliprc file for your bot.
- Move the
zuliprc
file to thebunku
repository - Start the bot using command
zulip-run-bot bunku --config zuliprc
- You are good to interact with the bot
This bot has following six commands.
startrecording
: to start recording your leavesleft <course-code> class
: to record a leave for particular course code<course-code> class cancelled
: to report about a course class cancelledextra class <course-code> <date> <time>
: to report about an extra classattendancerecord
: to show your attendance recordtotalworkingdays
: to show total working days and 75% of itmyextraclasses
: to show details of latest added extra classes
Message | Response |
---|---|
@Bunku startrecording |
aagarwal@cs.iitr.ac.in Started recording your attendance |
@Bunku attendancerecord |
aagarwal@cs.iitr.ac.in ---Stats--- csn221 : 42/42 100.0% hss01 : 31/31 100.0% ecn203 : 41/41 100.0% csn291 : 51/51 100.0% min106 : 61/61 100.0% csn261 : 30/30 100.0% ----------- |