{"id":27197840,"url":"https://github.com/preaction/bot-freyr","last_synced_at":"2025-04-09T20:29:44.339Z","repository":{"id":21869323,"uuid":"25192879","full_name":"preaction/Bot-Freyr","owner":"preaction","description":"An IRC bot with multi-network capabilities and a web API","archived":false,"fork":false,"pushed_at":"2016-11-12T04:02:49.000Z","size":109,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-17T21:16:57.168Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/preaction.png","metadata":{"files":{"readme":"README","changelog":"CHANGES","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-14T06:20:17.000Z","updated_at":"2024-04-17T21:16:57.169Z","dependencies_parsed_at":"2022-08-20T01:30:28.845Z","dependency_job_id":null,"html_url":"https://github.com/preaction/Bot-Freyr","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/preaction%2FBot-Freyr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preaction%2FBot-Freyr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preaction%2FBot-Freyr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preaction%2FBot-Freyr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/preaction","download_url":"https://codeload.github.com/preaction/Bot-Freyr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248106880,"owners_count":21048816,"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":"2025-04-09T20:29:44.238Z","updated_at":"2025-04-09T20:29:44.331Z","avatar_url":"https://github.com/preaction.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"NAME\n    Freyr - IRC bot with multi-network and web API\n\nVERSION\n    version 0.001\n\nSYNOPSIS\n        use Freyr;\n        use Freyr::Plugin::Say;\n\n        my $bot = Freyr-\u003enew(\n            host =\u003e 'irc.perl.org',\n            channels =\u003e [ '#freyr' ],\n            nick =\u003e 'freyr',\n            prefix =\u003e '!',\n            plugins =\u003e {\n                say =\u003e Freyr::Plugin::Say-\u003enew,\n            },\n        );\n        $bot-\u003estart;\n\n        # In #freyr on irc.perl.org...\n        # -- Message addressed to the bot\n        # \u003e freyr, say I'm a little teapot\n        # freyr\u003e I'm a little teapot\n        # -- \"prefix\" message\n        # \u003e !say Short and stout\n        # freyr\u003e Short and stout\n\nDESCRIPTION\n    Freyr is an IRC bot designed for multiple networks and a web interface.\n\nATTRIBUTES\n  nick\n    The default nickname for the bot\n\n  prefix\n    The prefix character. A shortcut to address the bot.\n\n  host\n    The default host to connect to in single-network mode.\n\n  port\n    The default port to connect to in single-network mode.\n\n  network\n    The network the bot is currently connected to.\n\n  channels\n    The channel names to connect to in single-network mode.\n\n  plugins\n    The plugins to attach to this bot, keyed by route. The plugin will be\n    registered with the given route.\n\n  log\n    The Mojo::Log object attached to this bot\n\n  ioloop\n    The Mojo::IOLoop the bot should use.\n\n  _route\n    The Freyr::Route for the entire bot.\n\nMETHODS\n  BUILD\n    Initialize the network in single-network mode.\n\n  channel( NAME )\n    Get a channel object, joining the channel if necessary.\n\n  route( ROUTE =\u003e DEST )\n    Add a route to the entire bot. Routes must be unique. Only one route\n    will be triggered for every message.\n\n  _route_message( NETWORK, MESSAGE )\nAUTHOR\n    Doug Bell \u003cpreaction@cpan.org\u003e\n\nCOPYRIGHT AND LICENSE\n    This software is copyright (c) 2014 by Doug Bell.\n\n    This is free software; you can redistribute it and/or modify it under\n    the same terms as the Perl 5 programming language system itself.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreaction%2Fbot-freyr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpreaction%2Fbot-freyr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreaction%2Fbot-freyr/lists"}