our/cmds/help

7 lines
524 B
Python
Executable File

#!/usr/bin/env python3
import sys
if len(sys.argv) > 1 and sys.argv[1] == "writing":
print("you can add new scripts to our by placing executable files in the /town/our directory. Make sure they have the +x permission. programs are passed these arguments by the bot: the arguments given in the message (our/[program] [args]), the user ID, and the channel it was run from.")
else:
print("the our bot allows smol programs written by townies to be used by typing \"our/[program]\" from IRC. See also \"our/help writing\"")