Let Pigona translate a news feed, an announcement bot or a bridge. How to allow a bot or webhook, what is translated, what it costs and its limits.
By default Pigona ignores messages from bots and webhooks. With Allowed bots and webhooks you choose specific ones, such as a news feed, an announcement bot or a bridge from another chat platform, and Pigona translates the text of their messages in that channel. You set it up in the dashboard, in the Allowed bots and webhooks card on your server's page.
Use it when a bot or webhook posts text that people in your server need to read in their own language: a news or release feed, an announcement bot, or a bridge that copies messages from another platform. Everything else stays as it is: bots and webhooks you do not allow are still ignored, and messages from people are translated as usual.
Open your server's page in the dashboard and find the Allowed bots and webhooks card, below the channel list.
Under Allow a bot or webhook, pick the Channel it posts in and its Type, Bot or Webhook.
For a webhook, pick it from the list of that channel's webhooks. For a bot, enter its ID. Then press Allow. Pigona checks it with Discord first, so it can take a moment.
Optional: in the list, set Messages per hour for it and press Save. Leave it empty to use the default. Remove takes it off the list again.
A bot's ID: turn on Developer Mode in Discord (User Settings, Advanced), then right-click the bot and pick Copy User ID. The bot has to be a member of your server.
A webhook's list: it shows the names of the webhooks in the channel you picked, and it needs Pigona to have the Manage Webhooks permission in that channel. If the list is not available, or the webhook is not in it, choose Enter an ID instead and type the webhook's ID: copy its URL (Server Settings, Integrations, Webhooks, Copy Webhook URL); the ID is the long number right after /webhooks/. Keep the rest of the URL private: it works like a password for the webhook.
The channel has to translate already: set it up for Autonomous Translation or Relay Channels as usual, or let it follow the server's default language. In a channel that is not set up, an allowed bot is ignored like any other.
Only the text of a message. A message with no text, only an embed, is not translated, and neither is a bot's answer to a slash command or a context menu command.
The channel's usual rules apply: a message already in the channel's language is not translated into it, and a message under the server's minimum length for Autonomous Translation is not translated there.
A translation that would add a link or a mention the original did not have is not posted.
Pigona's own messages, and the webhooks Pigona posts Relay Channels through. They cannot be allowed.
A message that replies to one of Pigona's messages.
A bot or webhook that keeps answering Pigona's translations. If one does it five times in a row, each time within 10 seconds, it looks like two bots talking in circles: Pigona pauses it for 60 minutes and posts a short notice. Messages from people are still translated.
Allowed bots and webhooks use the server's Translation Credits like any other message. They pause once 80% of the Credits are used, so the rest is kept for your members, and they start again when the Credits reset or the server gets more. A very long message can be skipped a little earlier, when translating it could take the server past that point. Pigona posts a short notice in the channel when the pause starts.
Each bot or webhook can have up to 30 messages translated per hour in a channel by default, and you can set its own limit from 1 to 120. Over its limit it pauses until the hour allows more, and Pigona posts a short notice. All allowed bots and webhooks on a server together are also held to 240 translations an hour, where one message counts once for Autonomous Translation and once for each Relay Channel it is sent to.
Up to 25 allowed bots and webhooks per server, all channels together. The same bot allowed in two channels counts as two.
A webhook can only be allowed in the channel it posts in, and a bot has to be a member of the server.
A person's ID cannot be allowed, and neither can Pigona or its Relay Channels webhooks.
Every time a bot or webhook is allowed or removed, and every time its hourly limit changes, the Change log records who did it, under Allowed bots and webhooks. The entry shows whether it is a bot or a webhook, the last four digits of its ID and its hourly limit, never its name or any message.
No bot or webhook with this ID was found in this server: check the ID and the type. A bot has to be a member of this server.
That webhook posts in a different channel: choose the channel the webhook posts in, then try again.
Pigona can't check this one: for a webhook, give Pigona the Manage Webhooks permission, then try again.
That ID belongs to a person, not a bot: people's messages are translated as usual, so there is nothing to allow.
This server already has 25 allowed bots and webhooks: remove one to add another.
Pigona can't view that channel: give Pigona the View Channel permission there, then try again.
Couldn't check with Discord right now: try again in a moment.
Pigona can't look this bot up in your server: make sure Pigona is still a member of this server, then try again.
For each allowed bot or webhook, Pigona stores the server and channel it is allowed in, its ID, whether it is a bot or a webhook, its hourly limit if you set one, and a label: the name Discord gives that bot or webhook, which the list shows. Removing it from the list deletes that record. The Change log keeps a separate entry for each change - the full ID, whether it is a bot or a webhook, the hourly limit and who made the change - for 90 days, even after you remove the bot or webhook.
This page is part of the Pigona Documentation, a complete guide to setting up and using Pigona - the context-aware AI translation bot for Discord. Pigona supports 100+ languages, Autonomous Translation, Reactive Translation, Relay Channels, and Smart Context Engine.