Reactions

init(client)
exception UserLackingPermission

Bases: Exception

async reaction_handler(reaction, user, player)
add_handler(m_id, handler)
rem_handler(m_id)
auto_clear(msg)
async clear_loop(msg)
async add_reactions(msg, reactions)
class ReactionHandler(rem_user_react=True, rem_bot_react=False, auto_destroy=False)

Bases: object

print()
property rem_user_react
is_reaction(react)
set_reaction(react, *fcts)
add_reaction(react, fct)
rem_reaction(react)
async run(reaction, player, user, msg)
async auto_remove_reactions(msg)
async auto_add(msg)
reaction(*args)
class SingleMessageReactionHandler(remove_msg=False, **kwargs)

Bases: modules.reactions.ReactionHandler

property is_msg
property msg
clear()
async set_new_msg(new_msg)