A Discord bot that prints out the lines referenced in a Git snippet link (e.g. https://github.com/dolphingarlic/git-the-lines/blob/master/bot.py#L30-L34)
Just send the link to the snippet - no need for extra commands! Git the lines even highlights the code for you
- GitHub
- Public repos
- Private repos*
- Gists
- GitLab
- Public repos
- Private repos*
- BitBucket
- Public repos
- Heptapod
- Public repos
*Private repos are only supported if self-hosted
Command: g;ping
.
Action: Pings bot, returns bot delay in ms.
Command: g;about
.
Aliases: g;stats
.
Action: Shows bot statistics and technical data.
Command: g;help
.
Action: Shows help information.
Command: g;invite
.
Aliases: g;topgg
.
Action: Sends a bot invite link.
Command: g;github
.
Aliases: g;source
.
Action: Sends the bot GitHub repo link
Use this link to add the bot to your server
Alternatively, you can self-host the bot using Heroku, pythonanywhere, or any other hosting service. Simply create a file named .env
and set DISCORD_TOKEN
to your Discord bot token
We gladly accept any (constructive) contributions. Feel free to open issues and pull requests!