Sha256: cf4f6c14d22422f87f28bc89682ba91b68b5159ae6f60a64c4e786edd9b4a2ab

Contents?: true

Size: 536 Bytes

Versions: 57

Compression:

Stored size: 536 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

57 entries across 57 versions & 1 rubygems

Version Path
discorb-0.13.0 docs/Examples.md
discorb-0.12.4 docs/Examples.md
discorb-0.12.3 docs/Examples.md
discorb-0.12.2 docs/Examples.md
discorb-0.12.1 docs/Examples.md
discorb-0.12.0 docs/Examples.md
discorb-0.11.4 docs/Examples.md
discorb-0.11.3 docs/Examples.md
discorb-0.11.2 docs/Examples.md
discorb-0.11.1 docs/Examples.md
discorb-0.11.0 docs/Examples.md
discorb-0.10.3 docs/Examples.md
discorb-0.10.2 docs/Examples.md
discorb-0.10.1 docs/Examples.md
discorb-0.10.0 docs/Examples.md
discorb-0.9.6 docs/Examples.md
discorb-0.9.5 docs/Examples.md
discorb-0.9.4 docs/Examples.md
discorb-0.9.3 docs/Examples.md
discorb-0.9.1 docs/Examples.md