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

Adds github command and searcher #7

Open
wants to merge 1 commit into
base: RBHbot
Choose a base branch
from

Conversation

AutumnClove
Copy link
Member

When ran it should return the three latest commits, the source code, current open issues, and pr's. Ripped some code from r.danny
Also adds a listener to on_message for when an issue or pr is mentioned to link to it.

When ran it should return the three latest commits, the source code, current open issues, and pr's. Ripped some code from r.danny
embed.add_field(name='Issues', value='https://github.com/srhinos/rsb/issues', inline=True)
embed.add_field(name='Pull Request', value='https://github.com/srhinos/rsb/pulls', inline=True)

await self.safe_send_message(message.channel, content=embed)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is simple enough that we could just add it as a tag

return
except:
return

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is something would fit into the bot. I'd much rather THIS be the command where you run !gh <num> and it attempts to fetch either or with qualifying info.

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

Successfully merging this pull request may close these issues.

3 participants