]> jfr.im git - erebus.git/commit
add user.bind_bot method
authorJohn Runyon <redacted>
Sat, 23 Mar 2024 07:35:41 +0000 (01:35 -0600)
committerJohn Runyon <redacted>
Sat, 23 Mar 2024 07:35:41 +0000 (01:35 -0600)
commit5f5d669f59db6e2156db1e529cada7a353430087
tree99614f9abeaa9d771df6f2065013274a92b6039a
parentaad4b93412e5cdea8030e58526a0e1e20455f7d3
add user.bind_bot method

recommended usage:
- `user.bind_bot(bot)`
- `user.bind_bot(lib.parent.randbot())`

Wraps a User object in a new object which sends all .msg() through that bot,
instead of through a random bot each time.
erebus.py