https://github.com/mrousavy/hankhill
A discord bot for pixelating and jpegifying images
https://github.com/mrousavy/hankhill
bot discord jpeg
Last synced: 2 months ago
JSON representation
A discord bot for pixelating and jpegifying images
- Host: GitHub
- URL: https://github.com/mrousavy/hankhill
- Owner: mrousavy
- License: mit
- Created: 2017-06-26T16:18:27.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-01-19T09:08:00.000Z (over 4 years ago)
- Last Synced: 2025-02-15T11:16:51.533Z (4 months ago)
- Topics: bot, discord, jpeg
- Language: C#
- Homepage:
- Size: 760 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Hank Hill
A discord bot for pixelating and jpegifying images
[](https://discord.gg/ebXZnFX)
# Usage
1. Sending "needs more jpeg" (or "more jpg") will jpegify the last image in the current Channel
2. Sending "pixelate" will pixelate the last image in the current Channel
3. Sending "@HankHill help" will show help
![]()
![]()
# Building yourself
### Prerequisites
1. [Visual Studio](https://www.visualstudio.com/)
2. [.NET Core SDK](https://www.microsoft.com/net/download/core)### Build & Run
1. Download/Clone this Project
2. Open it in Visual Studio
3. Go to `Tools > NuGet Package Manager > Package Manager Settings > Package Sources`
4. Add a new Source: "ImageSharp Beta", URL: https://www.myget.org/F/imagesharp/api/v3/index.json
5. Click `Update`, close dialog with `Ok`
6. Change Project output from `Debug` to `Release` mode in drop down menu
7. Build Project (CtrlShiftB, or `Build > Build Solution`)If step **7** was successful, open the Project in your file explorer and go to `HankHill/bin/Release`. Your executable will be located in a subfolder here.
Run `HankHill.exe`. It should fail at the first time because we need a **token**.
Go to the [discord API interface](https://discordapp.com/developers/applications/me) and create a new app. [This guide](https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-&-getting-a-token) explains it quite well.Open the file `token` in any text editor and paste the discord API token in there. Save and run `HankHill.exe`, it should now start successfully.
Add the bot to your server with this link: https://discordapp.com/oauth2/authorize?client_id=CLIENT_ID_GOES_HERE&scope=bot
Now you're good to go.