{"id":20918045,"url":"https://github.com/nuclearace/swiftbot","last_synced_at":"2025-07-05T03:07:18.161Z","repository":{"id":75023239,"uuid":"78368149","full_name":"nuclearace/SwiftBot","owner":"nuclearace","description":"A bot to showcase SwiftDiscord","archived":false,"fork":false,"pushed_at":"2019-12-01T22:11:53.000Z","size":194,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-13T12:48:11.811Z","etag":null,"topics":["discord-bot","showcase","swift"],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/nuclearace.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}},"created_at":"2017-01-08T20:19:09.000Z","updated_at":"2025-02-27T05:21:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"7821bf04-81b7-4be8-bccc-fefcb56f8e9d","html_url":"https://github.com/nuclearace/SwiftBot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nuclearace/SwiftBot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuclearace%2FSwiftBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuclearace%2FSwiftBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuclearace%2FSwiftBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuclearace%2FSwiftBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nuclearace","download_url":"https://codeload.github.com/nuclearace/SwiftBot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuclearace%2FSwiftBot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263674248,"owners_count":23494541,"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":["discord-bot","showcase","swift"],"created_at":"2024-11-18T16:37:06.934Z","updated_at":"2025-07-05T03:07:18.141Z","avatar_url":"https://github.com/nuclearace.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SwiftBot\nA bot to showcase [SwiftDiscord](https://github.com/nuclearace/SwiftDiscord)\n\nSwiftBot is designed to be used in many large guilds, and as such, is a distributed bot. That is, there are multiple shard processes created for one \"bot\". The number of processes spawned is controlled by `numberOfShards` in config.swift located in `Shared`. This can be set to one if you only want a single shard instance running.\n\nThe bot is made of one module, and two executables.\n\nShared\n------\nContains the config file, and a set of utilities.\n\nSwiftShard\n--------\nIs an actual shard executable, and contains the logic for commands, guilds, etc. This executable is not meant to be launched directly. Instead `SwiftBot` should be used.\n\nSwiftBot\n-------------------\nIs the controller for all of the shards. It is responsible for keeping the shards alive, should one of them die. It also responsible for global api rate limits, such as the Wolfram-Alpha limit. If a shard wishes to remove a token from one of the limiters, it makes a RMI to see if it can make the request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuclearace%2Fswiftbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnuclearace%2Fswiftbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuclearace%2Fswiftbot/lists"}