{"id":16313974,"url":"https://github.com/lysxia/roll-your-own-irc-bot","last_synced_at":"2025-03-22T20:35:49.606Z","repository":{"id":149400120,"uuid":"199971435","full_name":"Lysxia/roll-your-own-irc-bot","owner":"Lysxia","description":"Roll your own IRC bot (2019 version) https://wiki.haskell.org/Roll_your_own_IRC_bot","archived":false,"fork":false,"pushed_at":"2024-04-11T19:29:01.000Z","size":8,"stargazers_count":10,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-18T14:49:14.812Z","etag":null,"topics":["haskell","irc","network","tutorial"],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lysxia.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-01T03:41:59.000Z","updated_at":"2025-01-17T01:11:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"fda30bc2-c031-42e7-a059-72f43a1de0d8","html_url":"https://github.com/Lysxia/roll-your-own-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/Lysxia%2Froll-your-own-irc-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lysxia%2Froll-your-own-irc-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lysxia%2Froll-your-own-irc-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lysxia%2Froll-your-own-irc-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lysxia","download_url":"https://codeload.github.com/Lysxia/roll-your-own-irc-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245020174,"owners_count":20548155,"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":["haskell","irc","network","tutorial"],"created_at":"2024-10-10T21:52:50.993Z","updated_at":"2025-03-22T20:35:49.208Z","avatar_url":"https://github.com/Lysxia.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Roll your own IRC bot (2024 version)\n====================================\n\nUpdated code for the tutorial on the Haskell Wiki, using current versions of\n*network* and *time*.\n\nhttps://wiki.haskell.org/Roll_your_own_IRC_bot (by Don Stewart)\n\nBuild\n-----\n\n```\n# If you use cabal\ncabal build\n\n# If you use stack\nstack build\n```\n\nExecute\n-------\n\n```\n# Bot versions: bot-1, bot-2, bot-3, bot-4, bot-5\n\n# If you use cabal\ncabal exec bot-5\n\n# If you use stack\nstack exec bot-5\n```\n\nExample transcript\n------------------\n\nOn IRC:\n\n```\n08:29 --\u003e tutbot (~tutbot@XYZ) has joined #tutbot-testing\n08:31 \u003clyxia\u003e !id Hello!\n08:31 \u003ctutbot\u003e Hello!\n08:31 \u003clyxia\u003e !uptime\n08:31 \u003ctutbot\u003e 1m 52s\n08:31 \u003clyxia\u003e !uptime\n08:31 \u003ctutbot\u003e 2m 3s\n08:31 \u003clyxia\u003e !id Stop copying me!\n08:31 \u003ctutbot\u003e Stop copying me!\n08:31 \u003clyxia\u003e !quit\n08:31 \u003c-- tutbot (~tutbot@XYZ) has quit (Client Quit)\n```\n\nCommand line output:\n\n```\n\u003e NICK tutbot\n\u003e USER tutbot 0 * :tutorial bot\n\u003e JOIN #tutbot-testing\n:iridium.libera.chat NOTICE * :*** Checking Ident\n\n... long welcome message ...\n\n:lyxia!~lyxia@XYZ PRIVMSG #tutbot-testing :!id Hello!\n\u003e PRIVMSG #tutbot-testing :Hello!\nPING :orwell.freenode.net\n\u003e PONG :orwell.freenode.net\n:lyxia!~lyxia@XYZ PRIVMSG #tutbot-testing :!uptime\n\u003e PRIVMSG #tutbot-testing :1m 52s\n:lyxia!~lyxia@XYZ PRIVMSG #tutbot-testing :!uptime\n\u003e PRIVMSG #tutbot-testing :2m 3s\n:lyxia!~lyxia@XYZ PRIVMSG #tutbot-testing :!id Stop copying me!\n\u003e PRIVMSG #tutbot-testing :Stop copying me!\n:lyxia!~lyxia@XYZ PRIVMSG #tutbot-testing :!quit\n\u003e QUIT :Exiting\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flysxia%2Froll-your-own-irc-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flysxia%2Froll-your-own-irc-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flysxia%2Froll-your-own-irc-bot/lists"}