A wrapper over Twilight that's designed to be convenient to use, without relying on callbacks and mostly following Twilight patterns while making your life easier
```rust let bot = Bot::new( "forgot to leak my token".toowned(), Intents::empty(), EventTypeFlags::INTERACTIONCREATE, ) .await?;
let handle = bot.interactionhandle(&interaction); if interaction.name().ok()? == "payrespects" { handle.defer(DeferVisibility::Ephemeral).await?; handle.checkpermissions(Permissions::MANAGEGUILD)?; let veryrespecteduser = interaction.data.ok()?.command().ok()?.target_id.ok()?;
handle
.reply(
Reply::new()
.ephemeral()
.content("Paying respects".to_owned()),
)
.await?;
handle
.reply(
Reply::new()
.ephemeral()
.update_last()
.content(format!("<@{very_respected_user}> has +1 respect now")),
)
.await?;
} ```
Feature Requests? Bugs? Support? Contributions? You name it, I'm always looking for community feedback from anyone who uses my work!
If you have a question, join Twilight's Discord server please