the great documentation update RETURNS
This commit is contained in:
parent
09d8f1de4b
commit
818d4afdb0
2
bot.py
2
bot.py
|
@ -18,7 +18,7 @@ channels = [
|
||||||
# "#club",
|
# "#club",
|
||||||
"###",
|
"###",
|
||||||
]
|
]
|
||||||
helpmessage = "hey, i'm botanybot. i water plants on ~club. my prefix is % and i was made by randomuser. check out https://ttm.sh/FoF.txt for more information."
|
helpmessage = "hey, i'm botanybot. i water plants on ~club. my prefix is % and i was made by randomuser. check out https://ttm.sh/Fs4.txt for more information."
|
||||||
|
|
||||||
def userchooser(user):
|
def userchooser(user):
|
||||||
return random.choice([i for i in os.listdir(r"/home") if i[0] == user[0]])
|
return random.choice([i for i in os.listdir(r"/home") if i[0] == user[0]])
|
||||||
|
|
15
help.txt
15
help.txt
|
@ -29,11 +29,16 @@ commands
|
||||||
%join #chaos
|
%join #chaos
|
||||||
joined the channel
|
joined the channel
|
||||||
|
|
||||||
%chowner <nick>
|
%{add,del}owner <nick>
|
||||||
change the admin of the bot, for the session
|
add or remove owner status from a nick (admins)
|
||||||
- requires admin privs
|
|
||||||
|
|
||||||
%chowner rndusx
|
%amowner
|
||||||
admin changed
|
determine if you are an owner
|
||||||
|
|
||||||
|
%ping
|
||||||
|
pong!
|
||||||
|
|
||||||
|
%eval <code>
|
||||||
|
evaluate the result of python code (admins)
|
||||||
|
|
||||||
see tildegit.org/randomuser/botanybot for the source
|
see tildegit.org/randomuser/botanybot for the source
|
||||||
|
|
Loading…
Reference in New Issue