Skip to content

Commit

Permalink
🪵📒 Readme Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
slimpotatoboy committed Apr 29, 2023
1 parent c6673a8 commit 24a46ec
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,40 @@ discord.sendMessage("This is a error log to my channel");
...
```

#### Get All Messages:

```dart
...
List messages = [];
var response = await discord.getChannelMessages();
setState((){
messages = response;
});
...
```

#### Edit a single message:

```dart
...
discord.updateChannelMessage(messageId: "123", message: "This is an updated message");
...
```

#### Delete a single message:

```dart
...
discord.deleteChannelMessage(messageId: "123");
...
```


## 🚀 Contributors

Expand Down

0 comments on commit 24a46ec

Please sign in to comment.