astral¶
Astral Inc. views, for things like Ruff embeds
Discord UI views used in Astral commands.
- class byte_bot.byte.views.astral.RuffView(author: int, bot: Bot, original_embed: Embed, minified_embed: Embed, *args, **kwargs)[source]¶
Bases:
BaseEmbedView
View for the Ruff embed.
Initialize the view.
- Parameters:
author – Author ID.
bot – Bot object.
original_embed – The original embed to display.
minified_embed – The minified embed to display.
*args – Variable length argument list.
**kwargs – Arbitrary keyword arguments.