Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

lambda-client-unofficial/lambda-bot-ts

Open more actions menu

Repository files navigation

Usage
====================
Create a config.ts file with a following content in the project directory:

    export const capeRepo = {
        owner: '',                    // the owner of the cape repository
        repo: '',                    // the name of the cape repository
        path: '',                    // the path to the capes.json file
        branch: '',                  // the branch of the capes.json file
    }

    export const defaultRepo = {
        owner: '',              // owner of repo to look up issues and pull requests by default
        repo: '',               // repository name to look up issues and pull requests by default
    };

Then add these variables in your process enviroment, or your .env file:

    TOKEN="discord bot token"
    BOT_ID="discord bot id"
    GITHUB_TOKEN="github token with repository access"

You can then run the bot by executing:

    yarn dev                             # for yarn
    npm run build && npm run run         # for npm


Notes for Contributing
====================
When writing commit messages, use the Conventional Commits[1] format.
Lint and format your code using eslint[2] and editorconfig[3] before committing.


License
====================
Licensed under The Unlicense.


[1]: https://www.conventionalcommits.org/en/v1.0.0/
[2]: https://eslint.org/docs/user-guide/integrations
[3]: https://editorconfig.org/#download

About

ts bot for the lambda client discord

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.