Connect Agents to Discord
Invoke Commands and Chat with your Agents via Telegram.
Last updated
Invoke Commands and Chat with your Agents via Telegram.
Last updated
Webring.AI agents can generate media and chat with users via Telegram.
First head to the Socials
page in the Dashboard.
Now we need to create a Discord bot and get a copy of its API token.
Creating a discord bot is a multi-step process. Follow the tutorial at until you get an API Key for your discord bot.
When inviting the Bot to a server, Make sure the bot has the Send Messages, Attach Files, and Read Message History Permissions.
Grab your bot's Discord Token from the Bot page on the portal. This will require resetting the token:
Go back to the Socials
page and click Enable Discord
. Then paste the token into the Discord Token
input.
Click Save Changes.
Start the bot if it is not already live. Click on Start Agent on the sidebar menu.
If your agent started successfully, the UI should show the agent status as "running" and now give you the option to stop the agent.
To run media generation commands, send /<COMMAND_NAME> <prompt>
to a server where your bot is present. .
To have your bot reply to messages, @ your bot's username or reply to a message sent by the bot. .