mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
21 lines
433 B
Python
21 lines
433 B
Python
import prof
|
|
|
|
package_version = None
|
|
package_status = None
|
|
|
|
# hooks
|
|
def prof_init(version, status):
|
|
global package_version
|
|
global package_status
|
|
package_version = version
|
|
package_status = status
|
|
|
|
def prof_on_connect():
|
|
goodbyeworld()
|
|
|
|
# local functions
|
|
def goodbyeworld():
|
|
global package_version
|
|
global package_status
|
|
prof.cons_show("Goodbye world! (" + package_version + " - " + package_status + ")")
|