ui_embed.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:modis 作者: Infraxion 项目源码 文件源码
def error(channel, title, description):
    """
    Creates an embed UI containing an error message

    Args:
        channel (discord.Channel): The Discord channel to bind the embed to
        title (str): The title of the embed
        description (str): The description for the error

    Returns:
        ui (ui_embed.UI): The embed UI object
    """

    # Create embed UI object
    gui = ui_embed.UI(
        channel,
        title,
        description,
        modulename=modulename
    )

    return gui
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号