{"id":30279502,"url":"https://github.com/hasangergames/suroi-bot","last_synced_at":"2026-05-06T02:39:07.356Z","repository":{"id":308453742,"uuid":"1032662402","full_name":"HasangerGames/suroi-bot","owner":"HasangerGames","description":"The official bot used in the Suroi Discord server. Written with Bun and discord.js.","archived":false,"fork":false,"pushed_at":"2025-08-20T22:39:39.000Z","size":327,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-20T23:28:10.911Z","etag":null,"topics":["bun","bunjs","discord","discord-bot","discord-js"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/HasangerGames.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}},"created_at":"2025-08-05T16:23:28.000Z","updated_at":"2025-08-20T22:39:42.000Z","dependencies_parsed_at":"2025-08-06T03:05:38.037Z","dependency_job_id":"79fc32dd-38aa-4a96-a26f-89bc51258746","html_url":"https://github.com/HasangerGames/suroi-bot","commit_stats":null,"previous_names":["hasangergames/suroi-bot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HasangerGames/suroi-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HasangerGames%2Fsuroi-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HasangerGames%2Fsuroi-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HasangerGames%2Fsuroi-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HasangerGames%2Fsuroi-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HasangerGames","download_url":"https://codeload.github.com/HasangerGames/suroi-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HasangerGames%2Fsuroi-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002017,"owners_count":26083258,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bun","bunjs","discord","discord-bot","discord-js"],"created_at":"2025-08-16T14:04:31.916Z","updated_at":"2025-10-09T20:11:57.555Z","avatar_url":"https://github.com/HasangerGames.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SuroiBot\n\nThe official bot used in the Suroi Discord server. Written with [Bun](https://bun.sh/) and [discord.js](https://discord.js.org/).\n\n## Features\n- **Leaderboard**: Compete with your fellow users for the top spot! Every 5 seconds, the first message you send will grant you **5** XP (50% chance of 1 XP for the counting channel).\n- **Music**: Play music from YouTube in voice channels!\n- **Fun**: Various fun commands and activities to keep you entertained.\n  - **Counting**: Count as high as you can! Each message in this channel must be a number one larger than the previous, and each user can only send one message at a time.\n  - **Starboard**: Messages that get at least 5 of a specific reaction will be sent here.\n- **Suroi**: Check the status of the Suroi servers with a command. Handles in-game moderation.\n- **Advanced Moderation**: Extensive case and logging system helps keep track of the following:\n  - Warnings, timeouts, kicks, and bans\n  - Edited and deleted messages and attachments\n  - Members joining and leaving\n  - Profile picture and nickname changes\n\n## Command List\nCommands marked with a ⚠️ can only be used by moderators.\n### 🏆 Leaderboard\n`/rank` - View a user's XP and their position on the leaderboard\\\n`/leaderboard` - View the top 10 users on the leaderboard\\\n`/levelnotifs on` - Enable notifications for leveling up\\\n`/levelnotifs off` - Disable notifications for leveling up\\\n`/legacyleaderboard` - Display the top 10 users on the first ever leaderboard\\\n⚠️ `/setxp` - Manually set a user's XP\n\n### 🎶 Music\n`/song play` - Add the first YouTube result for a query to the queue\\\n`/song search` - Get the first 5 YouTube results for a query and add one to the queue\\\n`/song queue` - List the songs currently in the queue\\\n`/song nowplaying` - Show details about the song currently playing\\\n`/song pause` - Pause the current song\\\n`/song unpause` - Unpause the current song\\\n`/song skip` - Skip the current song\\\n`/song remove` - Remove a song from the queue at the given index. Determine the index using `/song queue`\n\n### 😃 Fun\n`/embed` - Create a custom embed\\\n`/emoji random` - Display a random emoji combination\\\n`/emoji combine` - Combine two emoji. If a 2nd emoji isn't given, a random one will be picked\\\n`/emoji list` - Get a list of supported emoji\\\n`/fact` - Get a random fun fact\\\n`/image random` - Show a random out of context image\\\n`/image search` - Search for an out of context image\\\n⚠️ `/image upload` - Upload an image to the list of out of context images\\\n⚠️ `/say` - Make the bot say something, optionally replying to another message\n\n### Suroi\n`/servers` - Check the status of the Suroi servers and their player counts\\\n`/report info` - Get information about a report ID\\\n⚠️ `/report warn` - Warn a player\\\n⚠️ `/report tempban` - Temporarily ban a player\\\n⚠️ `/report permaban` - Permanently ban a player\\\n⚠️ `/report unban` - Remove all punishments matching the given report ID and the associated IP address\n\n### 🔨 Moderation\n`/case view` - List a user's moderation cases, optionally a specific page\\\n`/case info` - Get information about a specific case\\\n⚠️ `/case delete` - Delete a case\\\n⚠️ `/warn` - Warn a user\\\n⚠️ `/timeout add` - Timeout a user\\\n⚠️ `/timeout remove` - Remove a timeout from a user\\\n⚠️ `/kick` - Kick a user\\\n⚠️ `/ban add` - Ban a user\\\n⚠️ `/ban remove` - Unban a user\\\n⚠️ `/purge` - Purge messages from the current channel\n\n### 🤖 Bot\n`/ping` - Test the bot and API latency\\\n⚠️ `/restart` - Restart the bot\n\n## Prerequisites\n- [Bun](https://bun.sh/)\n- [Git](https://git-scm.com/)\n- [PostgreSQL](https://www.postgresql.org/)\n\n## Setup\nStart by cloning the repo using this command:\n```bash\ngit clone https://github.com/HasangerGames/suroi-bot.git\n```\n\nEnter the newly created `suroi-bot` directory:\n```bash\ncd suroi-bot\n```\n\nCreate a `config.json` file, using `config.schema.json` as a guide.\n\nInstall dependencies:\n\n```bash\nbun install\n```\n\nInitialize the database:\n```bash\nbunx prisma migrate dev\n```\n\nFinally, run this command to start the bot:\n\n```bash\nbun start\n```\n\nOr, to start a dev server (restarting the bot whenever a file changes):\n```bash\nbun dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasangergames%2Fsuroi-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhasangergames%2Fsuroi-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasangergames%2Fsuroi-bot/lists"}