{"id":17347672,"url":"https://github.com/cryptiklemur/eris-command-framework","last_synced_at":"2025-06-24T15:40:36.579Z","repository":{"id":142597780,"uuid":"161879646","full_name":"cryptiklemur/eris-command-framework","owner":"cryptiklemur","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-18T13:18:26.000Z","size":540,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T15:45:19.704Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/cryptiklemur.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2018-12-15T07:06:34.000Z","updated_at":"2024-12-21T00:05:21.000Z","dependencies_parsed_at":"2024-03-12T06:04:27.696Z","dependency_job_id":"aab7fc14-372c-4750-9f79-7eb0ca6ac8bc","html_url":"https://github.com/cryptiklemur/eris-command-framework","commit_stats":null,"previous_names":["cryptiklemur/eris-command-framework"],"tags_count":85,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptiklemur%2Feris-command-framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptiklemur%2Feris-command-framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptiklemur%2Feris-command-framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptiklemur%2Feris-command-framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cryptiklemur","download_url":"https://codeload.github.com/cryptiklemur/eris-command-framework/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245832747,"owners_count":20679702,"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":[],"created_at":"2024-10-15T16:49:44.666Z","updated_at":"2025-03-27T11:20:46.586Z","avatar_url":"https://github.com/cryptiklemur.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Eris Command Framework\n\n## You should probably just use slash commands now...\n\nThis framework is based around the idea of `PluginInterface`, and `CommandInterfaces`.\n\na Plugin (that implements `PluginInterface`) has Commands, that are annotated by `@Command()`\n\n### Usage\n\n##### Requirements\n\n* TypeORM\n* Inversify\n\n```typescript\nimport {CommandFramework, Interfaces, types} from 'eris-command-framework';\n\nconst container = new Container({defaultScope: 'singleton'});\nconst commandFramework = new CommandFramework(container, {prefix: '|'}); // Prefix is required\n\nconst connection: Connection = await createConnection(\n    {\n        autoSchemaSync: true,\n        driver:         {\n            database: process.env.DATABASE_NAME,\n            host:     process.env.DATABASE_HOST,\n            port:     process.env.DATABASE_PORT,\n            username: process.env.DATABASE_USER,\n            password: process.env.DATABASE_PASSWORD,\n            type:     \"mysql\",\n            extra:    {\n                supportBigNumbers: true,\n                bigNumberStrings:  true,\n            },\n        },\n        entities:       [\n            // Your entities here,\n            ...commandFramework.GetEntities()\n        ],\n    },\n);\n\n\ncontainer.bind\u003cConnection\u003e(types.Connection).toConstantValue(connection);\n\nconst plugins: Interfaces.PluginInterface[] = [\n    // Array of PluginInterfaces\n];\n\n// Finish setting up your container\nawait commandFramework.Initialize(plugins);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptiklemur%2Feris-command-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcryptiklemur%2Feris-command-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptiklemur%2Feris-command-framework/lists"}