1
1
Fork
You've already forked UnibibBot-2.0
0
No description
  • TypeScript 84.3%
  • JavaScript 13.9%
  • Dockerfile 1.8%
2025年01月18日 17:48:49 +01:00
src i don’t know why the ITC is so slow in pinging their APs... 2025年01月18日 17:48:49 +01:00
.env.example add basic bot 2024年09月21日 02:08:32 +02:00
.gitignore add basic bot 2024年09月21日 02:08:32 +02:00
Dockerfile fix dockerfile 2024年09月21日 03:39:21 +02:00
eslint.config.js update dependencies & use eslint-prettier 2025年01月14日 13:23:11 +01:00
LICENSE Initial commit 2024年09月19日 17:17:18 +00:00
package-lock.json i don’t know why the ITC is so slow in pinging their APs... 2025年01月18日 17:48:49 +01:00
package.json i don’t know why the ITC is so slow in pinging their APs... 2025年01月18日 17:48:49 +01:00
README.md clarify readme 2024年09月30日 15:09:47 +02:00
rooms.json shorten some room names 2024年09月28日 19:41:17 +02:00
tsconfig.json update dependencies & use eslint-prettier 2025年01月14日 13:23:11 +01:00

UnibibBot-2.0

Note that you need to be connected to the RWTH network or the RWTH VPN for the bot to work.

Installation

Deploy the bot with docker. Should’nt be too hard.

Otherwise (manual, nodejs required):

  • Rename .env.example to .env and replace the dummy token with your bot token.
  • Then:
$ npm i && npx tsc
$ node ./out/bot.js

Rooms

There are some default rooms in rooms.json. You can add more by following the schema. Note that collection names have to be in lower case.

On mobile phones with standard zoom, I found out that a maximum of 30 characters can be displayed in monospace formatting in a Telegram message in a group chat without producing line breaks. 36 characters for private direct messages. Depending on how many devices are connected, the available space for the room name decreases starting from 23 or 29 characters downwards for the case that both numbers have only one digit respectively.