{"id":23681442,"url":"https://github.com/codecat/reddit-radio","last_synced_at":"2025-10-04T02:56:30.021Z","repository":{"id":52500283,"uuid":"104518220","full_name":"codecat/reddit-radio","owner":"codecat","description":"Discord bot for /r/hardstyle","archived":false,"fork":false,"pushed_at":"2022-09-02T13:32:39.000Z","size":166,"stargazers_count":27,"open_issues_count":3,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-03-12T05:02:35.145Z","etag":null,"topics":["discord","hardstyle","music","radio","reddit"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/codecat.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}},"created_at":"2017-09-22T20:58:17.000Z","updated_at":"2022-09-04T15:28:08.000Z","dependencies_parsed_at":"2022-09-09T09:00:48.535Z","dependency_job_id":null,"html_url":"https://github.com/codecat/reddit-radio","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecat%2Freddit-radio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecat%2Freddit-radio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecat%2Freddit-radio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecat%2Freddit-radio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codecat","download_url":"https://codeload.github.com/codecat/reddit-radio/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231774744,"owners_count":18424669,"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","hardstyle","music","radio","reddit"],"created_at":"2024-12-29T18:38:48.199Z","updated_at":"2025-10-04T02:56:24.972Z","avatar_url":"https://github.com/codecat.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Reddit Radio [![Discord](https://img.shields.io/discord/319525278978277407.svg)](https://discord.gg/hardstyle) [![Docker](https://img.shields.io/docker/cloud/build/codecatt/reddit-radio)](https://hub.docker.com/r/codecatt/reddit-radio)\nA general purpose Discord bot made for the [/r/hardstyle](https://reddit.com/r/hardstyle) Discord.\n\n## Features\nIt does:\n\n* Event schedules.\n* Lots of commands and stuff.\n* Other cool things.\n* Makes Headhunterz shrug. ¯\\\\\\_(ツ)\\_/¯\n\n\n## Modules\nA module is a class in the `modules` folder. It accepts the following methods:\n\n* `constructor(config, client, bot)` where `config` is the object directly from the config file, `client` is the Discord client, and `bot` is the `RedditRadio` object.\n* `onCmdXxxx(msg, ...)` where `Xxxx` is a command name like `.xxxx`.\n* `onTick()` is called every second.\n* `onMessage(msg)` is called whenever a message is sent in any channel. Return `false` if the message can pass through to other commands and handlers, or `true` to stop that from happening.\n\n\n## (Optional) How to run using Docker\nYou can use Docker and a mounted volume to easily run Reddit Radio.\n\nThe Reddit Radio Docker image is publically available on Docker Hub and can be found [here](https://hub.docker.com/r/codecatt/reddit-radio) and are automatically built each time a change is made to the master branch.\n\n### How to run using built image\n1. Create a folder where you'd like to run the docker image\n2. Create a folder called `config` or similiar to keep your configuration in\n3. Make a copy of `config.example.toml` called `config.toml` and place it in your `config` folder\n4. Edit the config file\n5. Run the following command `docker run -d --name reddit-radio -v $(pwd)/config:/app/config codecatt/reddit-radio:latest`\n\n### Running using Docker from the repo\n1. Clone this repo\n    `git clone https://github.com/codecat/reddit-radio.git`\n2. Build the Docker image\n    `docker build . -t reddit-radio`\n3. Create a folder called `config` or similiar to keep your configuration in\n4. Make a copy of `config.example.toml` called `config.toml` and place it in your `config` folder\n5. Edit the config file\n6. Run the following command\n    `docker run -d --name reddit-radio -v $(pwd)/config:/app/config reddit-radio`\n\nNote: For development you could map your whole code directory as follows:\n`docker run -d --name reddit-radio -v $(pwd):/app reddit-radio`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecat%2Freddit-radio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodecat%2Freddit-radio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecat%2Freddit-radio/lists"}