Skip to content

1.6.1

Choose a tag to compare

@jykob jykob released this 21 Dec 17:35
· 31 commits to main since this release

What's Changed

Response getters

You can now access first point of data from the respose objects straight away.
You can subscribe to response objects (response[<some key>]) or use response.get(<some key>, <optional default>) getter.

client = bot.send(query("clientfind").params(pattern="sven))
svens_client_id = client["id"]

PR: #73

Update TSResponsePermissionError message

Message now tells more clearly that its a permid, not some vague permission

Commit: f549b02

Fixes

  • Once handlers having the same has_run context var. b9c0e6f
    • This would mean only one once handler would run. Ever.

Full Changelog: 1.6.0...1.6.1