{"id":13338793,"url":"https://github.com/shivan-s/cigargary-bot","last_synced_at":"2026-04-11T17:02:41.796Z","repository":{"id":112672895,"uuid":"408091030","full_name":"shivan-s/cigargary-bot","owner":"shivan-s","description":"A bot for cigargary's twitch and discord?","archived":false,"fork":false,"pushed_at":"2021-11-06T09:29:18.000Z","size":61,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-05T14:49:29.006Z","etag":null,"topics":["bot","discord","python","twitch","twitter"],"latest_commit_sha":null,"homepage":"","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/shivan-s.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":"2021-09-19T10:01:23.000Z","updated_at":"2023-09-28T19:58:20.000Z","dependencies_parsed_at":"2023-06-10T19:45:39.530Z","dependency_job_id":null,"html_url":"https://github.com/shivan-s/cigargary-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/shivan-s%2Fcigargary-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivan-s%2Fcigargary-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivan-s%2Fcigargary-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivan-s%2Fcigargary-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shivan-s","download_url":"https://codeload.github.com/shivan-s/cigargary-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243205245,"owners_count":20253425,"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":["bot","discord","python","twitch","twitter"],"created_at":"2024-07-29T19:17:21.966Z","updated_at":"2025-12-31T00:46:29.691Z","avatar_url":"https://github.com/shivan-s.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cigargary-bot\n\nThis is a bot created for [cigargary's twitch](https://www.twitch.tv/cigargary)\n\nPlease log ideas and problems in the [issues pages](https://github.com/ShivanS93/cigargary-bot/issues)\n\n## Plan\n\n0. Write tests\n1. Twitch bot that responds to commands like !project, !devops\n2. Link twitch to discord to tell discord when cigargary is live?\n\n## Getting started\n\n1. Set up `pre-commit`\n\t```shell\n\tpip install pre-commit\n\tpre-commit install\n\t```\n2. Set up `pipenv`\n\t```shell\n\tpip install pipenv\n\tpipenv lock\n\n\t# enter the shell to run code\n\tpipenv shell\n\n\t# or use pipenv run\n\tpipenv run blah\n\t```\n2. Set up a twitch bot token (see below)\n3. Run the bot\n\t```\n\t# from root of the project directory\n\tpipenv run start\n\t```\n## [HOSTING]\n\nThe bot is hosted on Heroku. We are yet to write documentation about this.\n\n## [TWITCH] How to generate a token for the twitch bot\n\nDocumentation on twitchio library: https://pypi.org/project/twitchio/\n\n1. Logout of current twitch account\n2. Create a bot twitch account\n3. Create a token: https://twitchtokengenerator.com/\n4. Add tokens in an .env file\n\t```\n\t# .env\n\tACCESS_TOKEN=oauth:\u003cACCESS TOKEN\u003e\n\tCLIENT_ID=\n\tBOT_NICK=\u003cbot's nickname\u003e\n\tBOT_PREFIX=! # the prefix, normally '!'\n\tCHANNELS=\u003cchannels to join\u003e\n\n\tFRESH_TOKEN=\n\t```\n\n## [DISCORD] Setting up discord bot\n\nResources:\n- https://pypi.org/project/discord.py/\n- https://realpython.com/how-to-make-a-discord-bot-python/\n1. Create a bot account and get tokens (see resouces above) TODO: write 1. Create a bot account and get tokens (see resouces above) TODO: write1. Create a bot account and get tokens (see resouces above) TODO: write this\n2. Add below to .env file\n\t``` # discord .env portion\n\tDISCORD_TOKEN=\n\tDISCORD_GUILD=cigargary\n\t```\n3. TODO: Consoldate this with twitch .env files settings\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivan-s%2Fcigargary-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshivan-s%2Fcigargary-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivan-s%2Fcigargary-bot/lists"}