Profanity Python Plugins APIΒΆ
The prof
module describes functions that plugins may call to interact with Profanity.
The plugin
module describes functions that plugins may define to be notified of various events in Profanity.
Contents:
- prof module
chat_set_incoming_char()
chat_set_outgoing_char()
chat_set_titlebar_enctext()
chat_show()
chat_show_themed()
chat_unset_incoming_char()
chat_unset_outgoing_char()
chat_unset_titlebar_enctext()
completer_add()
completer_clear()
completer_remove()
cons_alert()
cons_bad_cmd_usage()
cons_show()
cons_show_themed()
current_win_is_console()
disco_add_feature()
encryption_reset()
filepath_completer_add()
get_barejid_from_roster()
get_current_muc()
get_current_nick()
get_current_occupants()
get_current_recipient()
get_name_from_roster()
get_room_nick()
incoming_message()
log_debug()
log_error()
log_info()
log_warning()
notify()
register_command()
register_timed()
room_set_message_char()
room_set_titlebar_enctext()
room_show()
room_show_themed()
room_unset_message_char()
room_unset_titlebar_enctext()
send_line()
send_stanza()
settings_boolean_get()
settings_boolean_set()
settings_int_get()
settings_int_set()
settings_string_get()
settings_string_list_add()
settings_string_list_clear()
settings_string_list_get()
settings_string_list_remove()
settings_string_set()
win_create()
win_exists()
win_focus()
win_show()
win_show_themed()
- plugin module
prof_init()
prof_on_chat_win_focus()
prof_on_connect()
prof_on_contact_offline()
prof_on_contact_presence()
prof_on_disconnect()
prof_on_iq_stanza_receive()
prof_on_iq_stanza_send()
prof_on_message_stanza_receive()
prof_on_message_stanza_send()
prof_on_presence_stanza_receive()
prof_on_presence_stanza_send()
prof_on_room_history_message()
prof_on_room_win_focus()
prof_on_shutdown()
prof_on_start()
prof_on_unload()
prof_post_chat_message_display()
prof_post_chat_message_send()
prof_post_priv_message_display()
prof_post_priv_message_send()
prof_post_room_message_display()
prof_post_room_message_send()
prof_pre_chat_message_display()
prof_pre_chat_message_send()
prof_pre_priv_message_display()
prof_pre_priv_message_send()
prof_pre_room_message_display()
prof_pre_room_message_send()