mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-24 11:42:51 +01:00
bots: "bots.joinclient" should be "bots.join" (matching the command name)
This commit is contained in:
parent
b5884d4cb3
commit
a1783ed2be
@ -36,7 +36,7 @@ Remote versions of the `manage`, `list`, `sync`, and `clear` commands also exist
|
||||
|
||||
## Bots
|
||||
|
||||
- `bots.joinclient` - Grants access to the `joinclient` command.
|
||||
- `bots.join` - Grants access to the `join` command. `bots.joinclient` is a deprecated alias for this, retained for compatibility with PyLink < 2.0-rc1.
|
||||
- `bots.msg` - Grants access to the `msg` command.
|
||||
- `bots.nick` - Grants access to the `nick` command.
|
||||
- `bots.part` - Grants access to the `part` command.
|
||||
|
@ -64,7 +64,7 @@ def joinclient(irc, source, args):
|
||||
For the channel arguments, prefixes can also be specified to join the given client with
|
||||
(e.g. @#channel will join the client with op, while ~@#channel will join it with +qo.
|
||||
"""
|
||||
permissions.check_permissions(irc, source, ['bots.joinclient'])
|
||||
permissions.check_permissions(irc, source, ['bots.join', 'bots.joinclient'])
|
||||
|
||||
try:
|
||||
# Check if the first argument is an existing PyLink client. If it is not,
|
||||
|
Loading…
Reference in New Issue
Block a user