.. _autoping: ======== AutoPing ======== This is the cog guide for the autoping cog. You will find detailed docs about usage and commands. ``[p]`` is considered as your prefix. .. note:: To use this cog, you will need to install and load it. See the :ref:`getting_started` page. .. _autoping-usage: ----- Usage ----- Automatically ping a user/role when a message is sent in a channel. Can be used to notify a user or role when a message is sent in a channel. Pings are always sent in the channel the message was sent in. Pings are rate limited to a default of 1 per hour. If the latest message in the channel when a ping is about to be sent includes a ping of the target user OR is sent by the target user, that user will not be pinged. Roles are always pinged. Messages from bots/webhooks are ignored. Anyone can run ```autoping add``` to add themselves to the autoping list for the channel. You can restrict this with the Permissions cog if desired. Only users with mention everyone or admin permissions can set the rate limit or add/remove autoping for roles or other users. .. _autoping-commands: -------- Commands -------- .. _autoping-command-autoping: ^^^^^^^^ autoping ^^^^^^^^ **Syntax** .. code-block:: none [p]autoping **Description** Configure autopings for this channel. .. _autoping-command-autoping-add: """""""""""" autoping add """""""""""" **Syntax** .. code-block:: none [p]autoping add [target] **Description** Add yourself or a user/role to the autoping list for this channel. Only admins can add other users or roles. **Examples:** - ``[p]autoping add`` to add yourself to the list. - ``[p]autoping add @user`` to add a user to the list. - ``[p]autoping add ID`` to add a role/user by ID. - ``[p]autoping add Role Name`` to add a role by name. .. _autoping-command-autoping-clear: """""""""""""" autoping clear """""""""""""" .. note:: |admin-lock| **Syntax** .. code-block:: none [p]autoping clear **Description** Clear the autoping list for this channel. .. _autoping-command-autoping-ratelimit: """""""""""""""""" autoping ratelimit """""""""""""""""" .. note:: |admin-lock| **Syntax** .. code-block:: none [p]autoping ratelimit