components_v2

command
v1.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2026 License: BSD-3-Clause Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Components V2 survey

Install the bot in a test server and give it permission to view and send messages in the target channel. Set DISCORD_BOT_TOKEN to the bot token, then run this command from the repository root:

go run ./examples/components_v2 -channel CHANNEL_ID

Click Choose a topic on the posted message, select a radio option, and submit the modal. The bot defers an ephemeral response, then edits that response with a Components V2 text display showing the selection. The original survey stays available to the channel.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL