/restore
Restore repositories and event modifiers from a .glb backup file into a webhook.
Restores a webhook configuration from a .glb backup file created by /backup. The command processes repositories first, then event modifiers. Existing entries are updated in-place; new ones are inserted.
Usage
Parameters
| Prop | Type | Default |
|---|---|---|
id | string | - |
file | attachment | - |
Permissions
Requires Manage Server (MANAGE_GUILD).
Cooldown
None.
Response
The bot updates its status message as it processes each phase, then posts a summary:
Notes
- The backup file must be protocol version
2. Files from older versions will be rejected. - The target webhook must already exist in the server — create one with
/newhookfirst if needed. - Restore is safe to run multiple times. Re-running on the same webhook will update existing entries rather than duplicate them.
- The backup does not store the webhook secret, so channel IDs from the original server are preserved. If the channel IDs don't exist in the new server, you'll need to update them with
/setrepochannel.