inExecutableScope

在 OneBotApiExecutableScope 的作用域下执行 action。

executable.inExecutableScope {
api.execute()
}

Since

1.1.0