{"id":20041212,"url":"https://github.com/setar-bot/discord-utils","last_synced_at":"2026-05-11T11:37:01.068Z","repository":{"id":41815622,"uuid":"486519570","full_name":"SeTar-Bot/discord-utils","owner":"SeTar-Bot","description":"a module to help you automate some functions","archived":false,"fork":false,"pushed_at":"2022-04-28T10:26:45.000Z","size":78,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-12T19:24:49.383Z","etag":null,"topics":["discord-utilities","discordjs","discordjs-bot"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/SeTar-Bot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-28T09:02:10.000Z","updated_at":"2022-04-28T11:05:29.000Z","dependencies_parsed_at":"2022-07-22T19:03:19.941Z","dependency_job_id":null,"html_url":"https://github.com/SeTar-Bot/discord-utils","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeTar-Bot%2Fdiscord-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeTar-Bot%2Fdiscord-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeTar-Bot%2Fdiscord-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeTar-Bot%2Fdiscord-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SeTar-Bot","download_url":"https://codeload.github.com/SeTar-Bot/discord-utils/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241470366,"owners_count":19968041,"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-utilities","discordjs","discordjs-bot"],"created_at":"2024-11-13T10:45:44.773Z","updated_at":"2026-05-11T11:37:01.020Z","avatar_url":"https://github.com/SeTar-Bot.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# discord-utils\n a module to help you automate some functions\n\n## Table of Contents\n- [Installation](#installation)\n- [Methods](#methods)\n    - [AutoPublish](#autopublish)\n- [License](#license)\n\n### Installation\n\n`npm install @setar/utils`\n\n### Methods\n\n#### AutoPublish\n\u003e Publish any created Message on the Channel (you can specify the author(s) too)\n\n - Notice: Pass Your Discord Client before you handle all your events.\n```js\n// ESM\nimport UtilClient from \"@setar/utils\"\n\n// CommonJS/CJS\nconst { Client: UtilClient } = require(\"@setar/utils\")\n\nconst myUtils = new UtilClient(myBotClient);\nmyBotClient.on('messageCreate', (message) =\u003e { /* DO WHATEVER */})\n\nmyUtils.autoPublish('channel_id', ['admin_id', 'admin_id_2']);\n```\n\n## License\n[MIT License](https://github.com/SeTar-Bot/discord-utils/blob/main/LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsetar-bot%2Fdiscord-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsetar-bot%2Fdiscord-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsetar-bot%2Fdiscord-utils/lists"}