🍱 Add example gifs

This commit is contained in:
2024-08-03 17:14:18 +02:00
parent 4305eaef67
commit 9e342d5d79
3 changed files with 3 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
Pycord Reactive Views is a powerful library that extends [Pycord](https://pycord.dev), bringing reactive programming to Discord bot development. It enables developers to create dynamic, responsive user interfaces for their bots with ease.
![Color select example](./assets/color_select.gif)
## Table of Contents
- [What is Reactivity?](#what-is-reactivity)
- [Features](#features)
@@ -87,6 +88,8 @@ async def counter(ctx):
await Counter().send(ctx)
```
![Counter Example](./assets/counter.gif)
This example demonstrates how to bind a button's label, style, and disabled state to functions that determine their values based on the current state of the counter.
## Documentation

BIN
assets/color_select.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 477 KiB

BIN
assets/counter.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 364 KiB