bot.yourls Module¶
This module contains a custom YOURLS client.
- class bot.yourls.YOURLSClient(apiurl, username=None, password=None, signature=None, nonce_life=None)¶
Bases:
yourls.core.YOURLSClientBase
,yourls.core.YOURLSAPIMixin
,yourls.extensions.YOURLSEditUrlMixin
A custom YOURLS client with edit functionality.
- bot.yourls.generate_mail_link(member, client)¶
Given a member, generates a short link that allows the member to send a pre filled mail to the board informing them that their details changed.
- Parameters
member (
Member
) – The member.client (
YOURLSClient
) – The YOURLS client.
Returns: The link.
- Return type