This repository has been archived by the owner on Apr 9, 2024. It is now read-only.
Releases: GEOEGII555/w96msgroom.py
Releases · GEOEGII555/w96msgroom.py
v0.1.4
Full Changelog: v0.1.3...v0.1.4
v0.1.3
Full Changelog: v0.1.2...v0.1.3
- Fixed sending the errors in PrefixBot and made it also print the traceback in the console.
- Added a builtin help command. See the
add_builtin_help()
function in the PrefixBot documentation. - Updated documentation.
v0.1.2
Full Changelog: v0.1.1.1...v0.1.2
Basically I've added some functions, documentation and implemented PrefixBot.
v0.1.1.1
Full Changelog: v0.1.1...v0.1.1.1
Just changed readme.md and added a build dependency.
v0.1.1: Fixing the first release
Full Changelog: v0.1...v0.1.1
Fix some errors, should be working now.
v0.1: First release
First release.
3 tests added:
- 0-do-nothing.py - a bot joins and does nothing.
- 1-message-repeater.py - a bot joins and repeats all messages.
- 2-welcomer.py - a bot joins and says "Hi!" to everyone who joins.
Added classes:
- User
- Client
User class:
- is_staff() -> bool: Check if the user is a staff member of Windows 96.
- session_id, user_id properties
- color property
- flags property
Client class:
- rename() -> None: Rename the bot which already joined
- send_text_message(text: str) -> None: Send a text message
- on_text_message, on_user_join, on_user_leave, on_user_change: Override those in a subclass of Client, and the functions will be called when an event happens.
- on_online_users_update: If the online user list was bulk updated. This event happens when the bot connected, reconnected, and after calling update_online_users
- run() and stop(): Starts and stops the bot. run() is not blocking, if the program exits after calling run() the bot will exit too.
- update_online_users(): Request to bulk update the users list.