Discord

A Discord server where a bot answers in a channel, quoting the message it replies to.

0:00 / 0:01

Customize

30
34

Installation

pnpm odori add component discord

Edit the source in videos/components/discord/. Use odori diff to compare upstream changes and odori update to apply updates.

Timing contract

Use these durations and content limits when composing a scene. Run odori test to check your video.

Family
Products
Recommended duration
270 frames · 9s
Minimum duration
150 frames · 5s
Entrance
14 frames
Exit
12 frames
Reduced motion
messages placed, no working indicator
Requires
sans font
Content limits
server ≤ 24, channel ≤ 24, topic ≤ 60

Props

PropTypeDefaultRequired
serverThe server name over the channel list.string"Odori"—
channelsChannels under the text category.string[]["general"—
channelThe channel being read.string"support"—
topicThe channel topic, beside the name in the header.string"Render questions and bug reports"—
historyMessages already in the channel.DiscordPost[][{author: "janedoe"—
askThe message that gets answered.DiscordPost{author: "johndoe"—
replyThe bot's reply. It quotes the message it answers.DiscordPost & {to?: string}——
membersNames in the members list. Hidden when empty.string[]["Odori"—
thinkingFramesnumber30—
charactersPerSecondnumber34—

Related components

All components