Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/cranci1/AnimeGen
Browse files Browse the repository at this point in the history
  • Loading branch information
cranci1 committed Mar 3, 2024
2 parents ee6d190 + 4c5c5b1 commit 17c35ce
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 27 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/build.yml

This file was deleted.

19 changes: 15 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: |

</table>

> [!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/)
Expand Down Expand Up @@ -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:

```
Expand Down

0 comments on commit 17c35ce

Please sign in to comment.