{"id":42236770,"url":"https://github.com/raylu/sbot","last_synced_at":"2026-01-27T03:40:24.673Z","repository":{"id":55876233,"uuid":"46755842","full_name":"raylu/sbot","owner":"raylu","description":"discord bot","archived":false,"fork":false,"pushed_at":"2025-10-22T06:20:01.000Z","size":4010,"stargazers_count":8,"open_issues_count":1,"forks_count":13,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-22T08:28:18.691Z","etag":null,"topics":["discord-bot","hacktoberfest","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raylu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2015-11-24T00:04:32.000Z","updated_at":"2025-10-22T06:20:06.000Z","dependencies_parsed_at":"2023-11-11T19:24:20.929Z","dependency_job_id":"0f7329c8-959c-4fb6-a9a2-aa12c3736f2c","html_url":"https://github.com/raylu/sbot","commit_stats":{"total_commits":268,"total_committers":12,"mean_commits":"22.333333333333332","dds":0.4552238805970149,"last_synced_commit":"26d4b6146c494cd0cd00057471e54e38e7989228"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/raylu/sbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raylu%2Fsbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raylu%2Fsbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raylu%2Fsbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raylu%2Fsbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raylu","download_url":"https://codeload.github.com/raylu/sbot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raylu%2Fsbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28800124,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T03:37:11.304Z","status":"ssl_error","status_checked_at":"2026-01-27T03:37:10.427Z","response_time":168,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["discord-bot","hacktoberfest","python3"],"created_at":"2026-01-27T03:40:24.171Z","updated_at":"2026-01-27T03:40:24.667Z","avatar_url":"https://github.com/raylu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sbot\n\na discord bot\n\n## setup\n\nset up an app at https://discord.com/developers/applications\n```\npip3 install -r requirements.txt\ncp config.yaml{.example,}\n$EDITOR config.yaml\n./sbot\n```\n\n### code eval\n\nmake the nsjail directory a sibling of the sbot directory:\n```\ncd ..\ngit clone --recursive git://github.com/google/nsjail.git\ncd nsjail\nmake\n```\n\ncheck if you are cgroup v2:\n```\ngrep cgroup /proc/filesystems\n```\n\n#### cgroup v2\n\n```\nsudo mkdir /sys/fs/cgroup/NSJAIL\nsudo chown -R $USER: /sys/fs/cgroup/{cgroup.procs,NSJAIL}\nsudo chown -R $USER: /sys/fs/cgroup/NSJAIL/cgroup.*\necho \"+memory +pids\" \u003e /sys/fs/cgroup/NSJAIL/cgroup.subtree_control\n```\n\n#### cgroup v1\n\nif /sys/fs/cgroup/memory doesn't exist:\n```\nsudo mkdir /sys/fs/cgroup/{memory,pids}\nsudo mount -t cgroup memory -o memory /sys/fs/cgroup/memory\nsudo mount -t cgroup pids -o pids /sys/fs/cgroup/pids\n```\n\nset up NSJAIL memory/pids cgroups:\n```\nsudo mkdir /sys/fs/cgroup/{memory,pids}/NSJAIL\nsudo chown -R $USER: /sys/fs/cgroup/{memory,pids}/NSJAIL\n```\n\n### EVE price checker\n\ndownload `sqlite-latest.sqlite.bz2` from https://www.fuzzwork.co.uk/dump/\n```\nbunzip2 sqlite-latest.sqlite.bz2\n```\nedit config.yaml so that `eve_db` is the filepath of the sqlite file\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraylu%2Fsbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraylu%2Fsbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraylu%2Fsbot/lists"}