Post by Fringe Pioneer on Dec 22, 2010 19:27:13 GMT
The following URLs will expire approximately one month from now.
pastebin.com/Zrw2PtnH
pastebin.com/6NvDWdKR
pastebin.com/wmvcqQVm
pastebin.com/e8aECxe0
pastebin.com/Uxw19KvQ
The first URL is the chatango.py file, which is absolutely necessary for any and all Chatango bots that utilize Python. Without this file, you may as well quit now. All the remaining files, although unnecessary, will likely help you determine how to structure the bot. You will import this class in your bot's program, you will instantiate the chatroom class, and you will call methods from the chatroom class in order to interact with the chatroom.
The second URL is the mod bot itself. It imports all the other files, uses classes from the Chatango file, and uses methods directly from the remaining three files. This file, although unnecessary, will guide you in the construction of the main loop that handles the input and output.
The third URL is a list of moderator commands that DBFBot uses.
The fourth URL is a list of general commands that DBFBot may use. If you plan to expand the bot beyond its current capabilities, you will likely make all your additions and edits to this file and then borrow the methods from this file for the bot file.
The fifth URL is a list of helper methods. These methods make coding the other commands easier, although you could theoretically do without them and use the first file to determine how to do what you need to do.
pastebin.com/Zrw2PtnH
pastebin.com/6NvDWdKR
pastebin.com/wmvcqQVm
pastebin.com/e8aECxe0
pastebin.com/Uxw19KvQ
The first URL is the chatango.py file, which is absolutely necessary for any and all Chatango bots that utilize Python. Without this file, you may as well quit now. All the remaining files, although unnecessary, will likely help you determine how to structure the bot. You will import this class in your bot's program, you will instantiate the chatroom class, and you will call methods from the chatroom class in order to interact with the chatroom.
The second URL is the mod bot itself. It imports all the other files, uses classes from the Chatango file, and uses methods directly from the remaining three files. This file, although unnecessary, will guide you in the construction of the main loop that handles the input and output.
The third URL is a list of moderator commands that DBFBot uses.
The fourth URL is a list of general commands that DBFBot may use. If you plan to expand the bot beyond its current capabilities, you will likely make all your additions and edits to this file and then borrow the methods from this file for the bot file.
The fifth URL is a list of helper methods. These methods make coding the other commands easier, although you could theoretically do without them and use the first file to determine how to do what you need to do.