Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get a single file from a Github repo as a snippet #8

Open
mehedi-shafi opened this issue Aug 7, 2020 · 0 comments
Open

Get a single file from a Github repo as a snippet #8

mehedi-shafi opened this issue Aug 7, 2020 · 0 comments
Labels
feature Something new? Or wanted
Milestone

Comments

@mehedi-shafi
Copy link
Owner

Description: When the bot is given a GitHub link, filter any message that is send for a github url. If found if the url point to a single file download the file (only that file) and return the content as a code snippet.
Example:

user: hey checkout this https://github.com/mehedi-shafi/git-bot/blob/master/random_welcome.js
bot: <returns the content of the file>

Discuss the feature here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Something new? Or wanted
Projects
None yet
Development

No branches or pull requests

1 participant