diff --git a/sopel/tools/target.py b/sopel/tools/target.py index a1cc4386c8..41535d70d1 100644 --- a/sopel/tools/target.py +++ b/sopel/tools/target.py @@ -139,13 +139,13 @@ def has_privilege(self, nick, privilege): return self.privileges.get(Identifier(nick), 0) >= privilege def is_oper(self, nick): - """Tell if a user has the OP privilege level. + """Tell if a user has the OPER (operator) privilege level. :param str nick: a user's nick in this channel :rtype: bool Unlike :meth:`has_privilege`, this method checks if the user has been - explicitely granted the OPER privilege level:: + explicitly granted the OPER privilege level:: >>> channel.add_user(some_user, plugin.OPER) >>> channel.is_oper(some_user.nick) @@ -171,7 +171,7 @@ def is_owner(self, nick): :rtype: bool Unlike :meth:`has_privilege`, this method checks if the user has been - explicitely granted the OWNER privilege level:: + explicitly granted the OWNER privilege level:: >>> channel.add_user(some_user, plugin.OWNER) >>> channel.is_owner(some_user.nick) @@ -197,7 +197,7 @@ def is_admin(self, nick): :rtype: bool Unlike :meth:`has_privilege`, this method checks if the user has been - explicitely granted the ADMIN privilege level:: + explicitly granted the ADMIN privilege level:: >>> channel.add_user(some_user, plugin.ADMIN) >>> channel.is_admin(some_user.nick) @@ -223,7 +223,7 @@ def is_op(self, nick): :rtype: bool Unlike :meth:`has_privilege`, this method checks if the user has been - explicitely granted the OP privilege level:: + explicitly granted the OP privilege level:: >>> channel.add_user(some_user, plugin.OP) >>> channel.is_op(some_user.nick) @@ -275,7 +275,7 @@ def is_voiced(self, nick): :rtype: bool Unlike :meth:`has_privilege`, this method checks if the user has been - explicitely granted the VOICE privilege level:: + explicitly granted the VOICE privilege level:: >>> channel.add_user(some_user, plugin.VOICE) >>> channel.is_voiced(some_user.nick)