the great documentation update RETURNS

This commit is contained in:
randomuser 2021-06-23 04:37:40 +00:00
parent 09d8f1de4b
commit 818d4afdb0
2 changed files with 11 additions and 6 deletions

2
bot.py
View File

@ -18,7 +18,7 @@ channels = [
# "#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):
return random.choice([i for i in os.listdir(r"/home") if i[0] == user[0]])

View File

@ -29,11 +29,16 @@ commands
%join #chaos
joined the channel
%chowner <nick>
change the admin of the bot, for the session
- requires admin privs
%{add,del}owner <nick>
add or remove owner status from a nick (admins)
%chowner rndusx
admin changed
%amowner
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