Sha256: 71940f90fdc2c6bfef91ab900b132a6fb41c0ca4f30988a17e63a1dcd16c071a

Contents?: true

Size: 546 Bytes

Versions: 6

Compression:

Stored size: 546 Bytes

Contents

<!--
# @title Examples
-->

# Examples

## Simple ping pong

{include:file:examples/simple/ping_pong.rb}

## Wait for a message

{include:file:examples/simple/wait_for_message.rb}

## Use components

### Authorization button

{include:file:examples/components/authorization_button.rb}

### Pagination with select menu

{include:file:examples/components/select_menu.rb}

#### Note

This example is not shown correctly in the docs.
[Read this example on GitHub](https://github.com/discorb-lib/discorb/blob/main/examples/components/select_menu.rb).

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
discorb-0.20.0 docs/Examples.md
discorb-0.19.0 docs/Examples.md
discorb-0.18.1 docs/Examples.md
discorb-0.18.0 docs/Examples.md
discorb-0.17.1 docs/Examples.md
discorb-0.17.0 docs/Examples.md