Skip to content

feat: add github API integration to miku#12

Merged
youngcoder45 merged 1 commit intoTheCodeVerseHub:mainfrom
sinisterMage:feat
Mar 26, 2026
Merged

feat: add github API integration to miku#12
youngcoder45 merged 1 commit intoTheCodeVerseHub:mainfrom
sinisterMage:feat

Conversation

@sinisterMage
Copy link
Copy Markdown
Contributor

this PR adds Github API integration to Miku, please excuse my horrible python code, tested on a test discord server on bluefin x86-64 nvidia_dx
image

@sinisterMage sinisterMage requested review from a team as code owners March 26, 2026 11:52
Copy link
Copy Markdown
Contributor

@youngcoder45 youngcoder45 left a comment

Choose a reason for hiding this comment

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

Looks Good To Me

Comment thread src/cogs/github.py

async def setup(bot: commands.Bot) -> None:
"""Setup function to add cog to bot."""
await bot.add_cog(GitHub(bot))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Wow Looks good to me

return await self._request(
"/search/users",
params={"q": query, "per_page": per_page},
)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Perfect IMO

@youngcoder45 youngcoder45 merged commit c139f83 into TheCodeVerseHub:main Mar 26, 2026
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.

2 participants