feat(guild): wire delete-guild IPC to platform.deleteGuild
Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -906,6 +906,13 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
|
||||
pushState()
|
||||
return true
|
||||
}
|
||||
if (t === 'delete-guild') {
|
||||
await platform.deleteGuild({
|
||||
confirmName: msg.confirmName
|
||||
})
|
||||
pushState()
|
||||
return true
|
||||
}
|
||||
if (t === 'update-guild-settings') {
|
||||
await platform.updateGuildSettings({
|
||||
name: msg.name,
|
||||
|
||||
Reference in New Issue
Block a user