{"id":18240096,"url":"https://github.com/brys0/kyro","last_synced_at":"2026-01-21T11:10:47.349Z","repository":{"id":144510723,"uuid":"310783203","full_name":"brys0/Kyro","owner":"brys0","description":"A basic music bot with easy to addon modules","archived":false,"fork":false,"pushed_at":"2021-01-06T15:37:38.000Z","size":6745,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T16:21:31.346Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brys0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2020-11-07T06:32:50.000Z","updated_at":"2020-11-23T13:42:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"c881c845-8492-4837-be95-25b0af0e339f","html_url":"https://github.com/brys0/Kyro","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/brys0/Kyro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brys0%2FKyro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brys0%2FKyro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brys0%2FKyro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brys0%2FKyro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brys0","download_url":"https://codeload.github.com/brys0/Kyro/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brys0%2FKyro/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28632375,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2024-11-05T04:05:04.932Z","updated_at":"2026-01-21T11:10:47.333Z","avatar_url":"https://github.com/brys0.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kyro \n### A simple music bot written in Kotlin\n![Logo](https://i.imgur.com/dPa428Q.gif)\n\u003e Note: This is entirely open source and is in **no case** under any sort of warranty and special service \n\n\n\n### Where is the code?\n\nEach of the code commits are seperated by version you can find the code by clicking the **top branch** and selecting the different version based on what your needs are.\n\nAdding Your OWN Commands\n\n### Whats the structure?\n\n```java\nclass \u003cYour class here\u003e : Command() \n{\noverride fun execute(event: CommandEvent)  \n{\n// Example defines\n  val channel = event.channel\n  val message = event.message\n\n// Your other code here\n\n}\ninit {\nname = \"\u003cCommand Name\u003e\" // String\naliases = arrayOf(\"\u003calias\u003e\" ,\"\u003calias\u003e\") // Array String\nhelp = \"\u003cHelp Message\u003e\" // String\nguildOnly = \u003cBoolean\u003e // true (Command can only be used in guild) / false (Command can be used in private messaging and guild)\narguments = getArguments()\ncooldown = \u003cint seconds\u003e // 1 2 3\nrequiredRole = \"\u003cRole Name\u003e\" // String\n\t}\n}\n```\n### Example\n\n```java\nclass Skip : Command() {  \n  \n  override fun execute(event: CommandEvent) {  \n  val channel = event.textChannel  \n  val playerManager = instance  \n  val GMM = playerManager!!.getGuildMusicManager(event.guild)  \n  val s = GMM.scheduler  \n  val player = GMM.audioPlayer  \n  \ns.isRepeating = true  \nif (event.guild.roles.stream().noneMatch{r: Role -\u003e r.name.equals(\"DJ\", ignoreCase = true)}) {  \n  event.reply(\"Seems like a DJ role didn't exist so i've created one for you.\")  \n  event.guild.createRole().setName(\"DJ\").setColor(Color.CYAN).queue()  \n}  \n  if (event.member.roles.stream().noneMatch { r: Role -\u003e r.name.equals(\"DJ\", ignoreCase = true) or !event.isOwner or !event.member.hasPermission(Permission.ADMINISTRATOR) }) {  \n  event.textChannel.sendMessage(\"You need the role `DJ` for that!\").queue()  \n  return  \n  \n  }  \n  if (player.playingTrack == null) {  \n  channel.sendMessage(\"Can't skip when no track is playing!\").queue()  \n  return  \n  }  \n  s.nextTrack()  \n  channel.sendMessage(\"Skipped.\").queue()  \n  \n }  init {  \n  name = \"skip\"  \n  aliases = arrayOf(\"s\")  \n  help = \"Skips the currently playing track\"  \n  }  \n}\n```\n\n# Q \u0026 A\n\n### Q:  Who's the command handler your using made by?\nGreat question! The command handler is made by [@jagrosh](https://github.com/jagrosh) and the package is [JDA-Utilities](https://github.com/JDA-Applications/JDA-Utilities)\n\n### Q: What are the rules for submitting pull requests?\nThe rules for submitting a pull request are the following:\n\n\u003e You must have at least 50 lines changed\n\n\u003e You must have changed something other than grammatical errors (i.e Fixing documentation)\n\nThat's it for now :3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrys0%2Fkyro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrys0%2Fkyro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrys0%2Fkyro/lists"}