Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Releases: GEOEGII555/w96msgroom.py

v0.1.4

29 Jan 15:32
1be6496
Compare
Choose a tag to compare

v0.1.3

09 Dec 14:57
Compare
Choose a tag to compare

Full Changelog: v0.1.2...v0.1.3

  1. Fixed sending the errors in PrefixBot and made it also print the traceback in the console.
  2. Added a builtin help command. See the add_builtin_help() function in the PrefixBot documentation.
  3. Updated documentation.

v0.1.2

08 Dec 17:42
Compare
Choose a tag to compare

Full Changelog: v0.1.1.1...v0.1.2
Basically I've added some functions, documentation and implemented PrefixBot.

v0.1.1.1

06 Dec 20:45
Compare
Choose a tag to compare

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

29 Sep 09:42
Compare
Choose a tag to compare

Full Changelog: v0.1...v0.1.1

Fix some errors, should be working now.

v0.1: First release

29 Sep 09:30
Compare
Choose a tag to compare

First release.

3 tests added:

  1. 0-do-nothing.py - a bot joins and does nothing.
  2. 1-message-repeater.py - a bot joins and repeats all messages.
  3. 2-welcomer.py - a bot joins and says "Hi!" to everyone who joins.

Added classes:

  1. User
  2. Client

User class:

  1. is_staff() -> bool: Check if the user is a staff member of Windows 96.
  2. session_id, user_id properties
  3. color property
  4. flags property

Client class:

  1. rename() -> None: Rename the bot which already joined
  2. send_text_message(text: str) -> None: Send a text message
  3. 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.
  4. 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
  5. run() and stop(): Starts and stops the bot. run() is not blocking, if the program exits after calling run() the bot will exit too.
  6. update_online_users(): Request to bulk update the users list.