

Then in the first branch concerning action A, add Create Variable module.Īnd then add this variable and text message. We are going to create a string variable where we’ll store the message we want to send. Now we have different branches for our scenario. If you want to add another condition, just click on Add Else if. Once it’s done, we can add the conditions. A message will be displayed if the user hasn’t entered a valid action, I mean a valid action is A, B or C. Here we have three conditions, but exactly four. This list contains information we’ll use to perform actions. But first, we have to configure the Trigger.įor the output, be sure to have Discord Message selected. Well, The trigger will depend on the action I add on the discord channel. For this purpose, we’ll use the Discord Trigger. When someone will write a message in the help channel, we’ll capture the message and perform actions on it, and later send a response. However, you can read about the module we are going to use in this post. So today, we are going to build a Customer help Bot for Discord. Bots can be easily built and integrated into any services if you are using the Wayscript platform. With services used by millions of people, it’s difficult for Customer service people to handle all the problems addressed to them. This should then present you a nice confirmation message:Ĭongratulations! You've successfully added your bot to your Discord server.Bots today are an important part of Customer help services. Do note that you'll need the "Manage Server" permission on a server to add your bot there. You should see something like this (with your bot's username and avatar):Ĭhoose the server you want to add it to and click "Authorize". Grab the link via the "Copy" button and enter it in your browser. Once you select the bot option, a list of permissions will appear, allowing you to configure the permissions your bot needs. In the sidebar, you'll find the OAuth2 URL generator. To create an invite link, head back to the My Apps open in new window page under the "Applications" section, click on your bot application, and open the OAuth2 page. You shouldn't enable this option unless you know why you need to. If you get an error message saying "Bot requires a code grant", head over to your application's settings and disable the "Require OAuth2 Code Grant" option.
