Skip to content

Config機能 #22

Description

@sevenc-nanashi
dispander.config["color"] = discord.Color.blue()  # 埋め込みの色
dispander.config["footer_format"] = "{guild.name} / {channel.name}"  #フッターのフォーマット
dispander.config["allow_cross_guuld"] = lambda m, m2: m.author.id == m2.author.id  # サーバー間展開。

関数を渡すと第一引数にURLのメッセージ、第二引数に展開するメッセージが渡される感じ。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions