{"id":23191946,"url":"https://github.com/markwinter/irc-bot","last_synced_at":"2025-08-18T19:32:39.179Z","repository":{"id":34354527,"uuid":"38276428","full_name":"markwinter/IRC-Bot","owner":"markwinter","description":"Python IRC Bot","archived":false,"fork":false,"pushed_at":"2015-10-31T04:46:40.000Z","size":228,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-06T20:24:32.215Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markwinter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-29T23:25:39.000Z","updated_at":"2017-12-04T13:23:21.000Z","dependencies_parsed_at":"2022-08-03T20:31:02.049Z","dependency_job_id":null,"html_url":"https://github.com/markwinter/IRC-Bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markwinter%2FIRC-Bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markwinter%2FIRC-Bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markwinter%2FIRC-Bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markwinter%2FIRC-Bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markwinter","download_url":"https://codeload.github.com/markwinter/IRC-Bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230268669,"owners_count":18199806,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-18T12:19:29.281Z","updated_at":"2024-12-18T12:19:29.877Z","avatar_url":"https://github.com/markwinter.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IRC-Bot\n\nPython IRC Bot\n\n### Using this bot\n\nEverything that needs to be changed to make the bot your own is in the parameters of `init` of `Bot` in ircbot.py.\n\nYou will also need to create two files in the directory ircbot.py resides in, one for your password and one for your host.\nBy default these files are called `password` and `host` but can be changed for each bot using the `password_file` and `host_file`\nparameters.\n\nTo create multiple instances of bots, you use the channel variable passed to `init` using a unique\nname each time.\n\n### Adding commands to the bot\n\n- Create a new appropriately named file for your command\n- In the new file implement a class that has the method `execute(self, keywords, target, source, ircbot)` and `usage(self)`\n- Improper usage of a command should return -1 in `execute` and define the usage string in `usage`\n- Import your class in ircbot.py\n- Add your command to the list of commands in the `init` of Bot() in ircbot.py\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkwinter%2Firc-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkwinter%2Firc-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkwinter%2Firc-bot/lists"}