{"id":37168044,"url":"https://github.com/svakode/svachan","last_synced_at":"2026-01-14T19:52:17.695Z","repository":{"id":57541455,"uuid":"293292916","full_name":"svakode/svachan","owner":"svakode","description":"Svachan is a multi-purpose Discord bot","archived":false,"fork":false,"pushed_at":"2020-09-11T10:49:36.000Z","size":957,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T15:54:12.849Z","etag":null,"topics":["bot","discord","go","svachan"],"latest_commit_sha":null,"homepage":"","language":"Go","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/svakode.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-06T14:24:49.000Z","updated_at":"2020-09-11T10:49:29.000Z","dependencies_parsed_at":"2022-09-26T18:30:49.526Z","dependency_job_id":null,"html_url":"https://github.com/svakode/svachan","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/svakode/svachan","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svakode%2Fsvachan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svakode%2Fsvachan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svakode%2Fsvachan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svakode%2Fsvachan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/svakode","download_url":"https://codeload.github.com/svakode/svachan/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svakode%2Fsvachan/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28433364,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["bot","discord","go","svachan"],"created_at":"2026-01-14T19:52:16.963Z","updated_at":"2026-01-14T19:52:17.675Z","avatar_url":"https://github.com/svakode.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Svachan\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"assets/svachan.png\" width=\"360\"\u003e\u003c/p\u003e\n\n[![Build Status](https://travis-ci.com/svakode/svachan.svg?branch=master)](https://travis-ci.com/svakode/svachan)\n\nSvachan is a [Go](https://golang.org/) Discord Bot. This bot is built on top of [DiscordGo](https://github.com/bwmarrin/discordgo) Multi purposes bot which can be extended \nas much as you want, from handling an event in Discord to adding your own custom command!\n\n## Getting Started\n\n### Installing\n\nThis assumes you already have a working Go environment, if not please see\n[this page](https://golang.org/doc/install) first.\n\nAfter you clone your project, you need to run\n```\nmake copy-config\n``` \n\nOpen the generated `application.yml` and fill in the required configuration. The configuration is\nnot required for external parties (e.g Twitter \u0026 Google). If empty then we will not register the command to Svachan. \n\n### Build\n\nYou can build the binary file by simply running\n\n```\nmake build\n```\n\nAfter the build is done, you can run it by \n\n```\n./out/svachan\n```\n\n### Handler Extension\n\nYou can extend the bot to handle more event by creating the handler function in `handler` package and registering it in the `main.go`. \nRegister your handler in the `svachan` variable. For example:\n\n```go\nsvachan.AddHandler(Handler.CommandHandler)\n```\n\nRefer to [this page](https://discord.com/developers/docs/topics/gateway#commands-and-events) for more information about events.\n\n### Command\n\nYou can extend the bot to handle more command by creating the handler function in `cmd` package and registering it in the `main.go`. \nRegister your handler in the `registerCommand()` function. For example:\n\n```go\nCmdHandler.Register(constant.HelpCommand, cmd.HelpCommand)\n```\n\n### Built-in Command\n\n| Command     | Trigger     | Description |\n| ----------- | ----------- | ----------- |\n| Ask         | s.ask       | Answer your yes/no question|\n| Choose      | s.choose    | Choose one of given options|\n| Help        | s.help      | Showing instruction on how to use |\n| Meet        | s.meet      | Initiate a Google Meet with your team |\n| Member      | s.member    | Managing your member data in the server |\n| Music       | s.music     | Playing music in your server |\n| Tweet       | s.tweet     | Listening to users tweet and repost it in the channel |\n| Server      | s.server    | Showing server status where Svachan is hosted |\n\n## Credit\n\nMade with :heart: by [Hansen Edrick Harianto](https://github.com/hansenedrickh)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvakode%2Fsvachan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsvakode%2Fsvachan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvakode%2Fsvachan/lists"}