Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MahdiBM committed Nov 7, 2022
1 parent 251e749 commit 8403a75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -17,7 +17,7 @@ You can see Vapor community's Penny bot as a showcase of using this library in p
Penny is available [here](https://github.com/vapor/penny-bot) and you can find `DiscordBM` used in the [PennyBOT](https://github.com/vapor/penny-bot/tree/main/CODE/Sources/PennyBOT) target.

## How To Use
> If you're using DiscordBM on macOS Ventura (on either Xcode or VSCode), make sure you have **Xcode 14.1 or above**. Lower Xcode 14 versions have known issues that cause a lot of problems for libraries.
> If you're using `DiscordBM` on macOS Ventura (on either Xcode or VSCode), make sure you have **Xcode 14.1 or above**. Lower Xcode 14 versions have known issues that cause a lot of problems for libraries.
First you need to initialize a `BotGatewayManager` instance, then tell it to connect and start using it:

Expand Down Expand Up @@ -111,7 +111,7 @@ Task {

### Sending Attachments
It's usually better to send a link of your media to Discord, instead of sending the actual file.
However, DiscordBM still supports sending files directly.
However, `DiscordBM` still supports sending files directly.
```swift
Task {
let image: ByteBuffer = ... /// Raw data of anything like an image
Expand Down

0 comments on commit 8403a75

Please sign in to comment.