How to make a bot
Welcome to our easy guide on creating your a bot in Guilded, and you don't need to know any coding!
Check out this video for a quick intro to making bots
So, what's a bot? It's like a little helper that reacts to 'triggers' and performs 'actions'. A trigger is something that tells the bot to start, like a specific message. The action is what the bot does in response, like sending a video link.
In this article, we'll show you how to make a simple bot that sends a video link when it sees a specific message. By the end, you'll have a working bot and a basic understanding of how to make more bots in the future. Let's get started!
How to make a bot
- Select Manage bots from the server settings by clicking the menu button.
- Click on the Bots page and click Create a bot
- Give your bot a name.
- Let's add a flow. Click the Add a flow button.
- Each bot needs a trigger and an action. Go ahead and click Add
- Click Select on the trigger Member sent message to channel
- You will now see the Trigger details. Here you can choose what channel you want the bot to respond to and from which member or role the message was sent. You can also decide if you want the exact phrase or when the message contains a particular word or phrase using the drop-down lists.
- In this example, we have used Hello world, click Next
- With your Trigger now complete, you now want to add an Action. Click Add
- Actions have many options, this tells the bot what to do, and for this example, we are going to use Send a custom message, click Select
When setting up your bot, you get to pick two things: the action it does, and the channel it posts in. Just follow these steps:
- Pick an action: Choose what you want the bot to do from the drop-down list.
- Select a channel: Decide where the bot should post its message.
Please remember: You'll need to give your bot permission to post in the chosen channel.
Your bot can respond with things like messages, images, videos, polls, or forms – it's all up to you!
- You can customize your message by typing $ to access the templating menu.
In our example, our bot will mention the user who triggers it and share a video in the message. But what if you don't want that user to get a notification, or want the message to be private? Here's how you can adjust these settings:
-
No notification: If you don't want to send a notification to the user who starts the bot (we call this the $TriggeringUser), the 'Sends without notifications' option and slide the toggle to turn it on.
-
Private message: If you want the bot's message to only go to the $TriggeringUser, the 'Send as a private message' option and slide the toggle to turn it on.
Now, you can control how your bot interacts with the $TriggeringUser!
- You will now see your triggers and actions together, now click Save
- The bot is now ready to Save
- Let's see how the bot looks in action.
That's all there is to it. How creative will you get with the bot builder?
Want to give your bot a new look or name?
-
Find your bot: Go to the 'Server bots' menu and click on your bot.
-
Change the picture: Hover your mouse over the bot's current image. Click the camera icon that appears. Now, you can pick a new image or gif (up to 500mb) to upload.
-
Rename your bot: Click the pencil icon, then type in your bot's new name.
That's it! Your bot now has a fresh look and name.
Deleting a bot
- Find your bot in the Server bots menu
- Click on Settings
- Select Delete bot
- Select Delete to confirm that you want to delete your bot.
Your bot will now have been deleted successfully.