Is the below list close to being right? ...and NO, i'm not a developer, i just thought there was something missing from an otherwise fine piece of software.
- - -
The bot is designed to be a front end for some AdvancedDCHub functions,
and handle others itself.
In general, to execute a command, you send a private message to AdvancedBot.
"hostname Joe" will execute the hostname function with the
The period is a length of time, written as an integer which may
be followed by one of the following letters:
password nick password
Change the password for the user's account
torrent url description
Suggest torrent. Don't forget to include protocol.
ban ip period note
ban nick period note
Ban a nick/IP for a period of time
Send a chat message from the bot
Give the user's password to requester
history nick type
history nick period
history nick type period
Give the history for an account
type = 1, 2, 3, 4 and/or 5
Get the hostname for a user
Give a list of related data structures
log level [level]
Control remote logging via private messages
note nick note
Add a note to an account
Scrub old punishment entries
silence nick period note
Silence a nick/IP for a given period of time
stupidify nick period note
Stupidify a nick/IP for a given period of time (see punish)
torrent approve id
torrent remove id
Manage torrents on the hub
unverify nick note
Unverify an account
verify nick note
Verify an account
Execute Python commands in the hub's process
Run an SQL command against the database
That looks good to me. In most cases it's probably better to use the UserCommands, though. See examples/usercommands.AdvancedDCHub.
I'm definitely not used to DC so a good link on how to use UserCommands with py-dchub would be nice.
I can't find a good link about how to use them, but if you use DC++ and have usercommandsfile set in the hub configuration file, then you should see user commands if you right click on a hub or a user. Some documentation about how to create the commands is at http://www.dcpp.net/wiki/index.php/%24UserCommand. However, the example that comes with the hub covers all of the common needs.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.