OctoflowOctoflow

/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

/restore id:WEBHOOK_ID file:backup.glb

Parameters

PropTypeDefault
id
string
-
file
attachment
-

Permissions

Guild-only — unlike most other commands, this one does not require Manage Server. Any member of the server can run /restore.

Because no permission is required, anyone in the server can overwrite a webhook's repos and event modifiers by restoring a .glb file. Treat backup files as sensitive and only share them with people you trust.

Cooldown

None.

Response

The bot updates its status message as it processes each phase, then posts a summary:

Summary

- Inserted repos: N
- Updated repos: N
- Inserted event modifiers: N
- Updated event modifiers: N

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 /newhook first 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.

On this page