OctoflowOctoflow
CommandsCore Commands

/newrepo

Link a GitHub repository to a webhook and choose which channel receives its notifications.

Links a GitHub repository to an existing webhook and routes its events to a specific Discord channel. Each repository entry is independent — you can send different repos to different channels, all under one webhook.

Usage

/newrepo webhook_id:abc123 owner:octocat name:my-repo channel:#github-events
git!newrepo webhook_id:abc123 owner:octocat name:my-repo channel:#github-events

Parameters

PropTypeDefault
webhook_id
string
-
owner
string
-
name
string
-
channel
channel
-

Permissions

Requires Manage Server (MANAGE_GUILD).

Cooldown

60 seconds (per guild).

Notes

  • Repository names are stored in lowercase (owner/name). Matching is case-insensitive.
  • If the repository already exists under that webhook, the command will error. Use /delrepo to remove it first.
  • The specified webhook must exist in your server — the command will error if it doesn't.
  • To change the notification channel later, use /setrepochannel.

On this page