diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index 0856421e..00000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Build IPA - -on: - push: - branches: - - main - -jobs: - build: - runs-on: macos-latest - - steps: - - name: Checkout Repository - uses: actions/checkout@v2 - - - name: Set up Xcode - run: sudo xcode-select --switch /Applications/Xcode_13.2.1.app/Contents/Developer - - - name: Make ipabuild.sh executable - run: chmod +x ipabuild.sh - - - name: Run ipabuild.sh - run: ./ipabuild.sh diff --git a/README.md b/README.md index dcd70221..819b26d5 100644 --- a/README.md +++ b/README.md @@ -18,15 +18,12 @@ AnimeGen supports any iOS/iPadOS device running iOS 13+ | Waifu.im | SFW/NSFW | :white_check_mark: | | Nekos.best | SFW | :white_check_mark: | | Waifu.pics | SFW/NSFW | :white_check_mark: | -| Hmtai | SFW/NSFW | :warning: | +| Hmtai | SFW/NSFW | :white_check_mark: | | Nekos api | SFW/NSFW | :white_check_mark: | | Nekos.mod | SFW/NSFW | :white_check_mark: | -> [!Important] -> The Hmtai api uses "cdn.discordapp.com/attachments" links, they are currently marked as "This content is no longer available.", so most of the images wont work. - ## APIs Credits - [pic.re api](https://doc.pic.re/) @@ -66,6 +63,20 @@ Navige to the directory: cd AnimeGen ``` +Now you need to create a new file called: Secrets.swift, in this file you need to place this code: + +```swift +import Foundation + +struct Secrets { + static let apiToken = "Bot BotToken" // Replace BotToken with the token of the discord bot + + static let discordWebhookURL = URL(string: "Your Webhook Url")! + + static let discordChannelId = "Your ChannelId Here" +} +``` + Run the script: ```