Created
January 6, 2023 13:29
-
-
Save osantana/e96563412b1a1b5a111ec22308bf7d85 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import xchat | |
__module_name__ = "* epx L" | |
__module_version__ = "0.1.0" | |
__module_description__ = "Ensina como usar /clear" | |
def clear_cb(word, word_eol, userdata): | |
ctx = xchat.get_context() | |
ctx.command("me acha que limpar a tela eh para os fracos!") | |
return xchat.EAT_ALL | |
xchat.hook_command("clear", clear_cb, help="Usage: CLEAR, Clears the current text window") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment