Discord Bot Creation Guide
Step-by-step guide to create your first Discord AI bot with Friendify platform
1
Discord Developer Portal Setup
First, you need to create an application in Discord Developer Portal.
- Sign in to Discord and go to Discord Developer Portal
- Click on "New Application" button
- Enter a name for your bot (e.g., "MyAIBot")
- Click "Create" button
Tip: Bot name can be changed later, so you can choose a simple name for now.
2
Creating Discord Bot
After creating the application, you need to configure the bot.
- Click on "Bot" tab in the left menu
- Click "Add Bot" button
- In the confirmation dialog, select "Yes, do it!"
- Customize the bot's username and avatar
Getting Bot Token
Bot token is your bot's credentials and will be needed in Friendify.
- In the "Token" section, click "Reset Token" button
- Complete the security verification
- Copy the displayed token and save it securely
Important: Never share your bot token with anyone! This token provides full control over your bot.
Token example: MTIzNDU2Nzg5MDEyMzQ1Njc4.GH3kL9.abcdefghijklmnopqrstuvwxyz1234567890
3
Setting Bot Permissions
You need to set the necessary permissions for your bot to work in Discord servers.
Privileged Gateway Intents
Enable the following options in the Bot tab:
- MESSAGE CONTENT INTENT - To read message contents
- SERVER MEMBERS INTENT - To see server members
- PRESENCE INTENT - To see user statuses
Note: Without these permissions, the bot cannot respond to messages and provide full functionality.
4
Bot Setup on Friendify
Now register the token you got from Discord on the Friendify platform.
- Go to Friendify Dashboard
- Click "New Bot" button
- Enter a name for your bot
- Paste the token you copied from Discord
- Select a personality (default or custom)
- Click "Create Bot" button
Bot Settings
Options you can configure after creating the bot:
- Personality: Determines your bot's behavior style
- Language: Turkish or English response language
- Voice Recognition: Feature to understand voice messages
- Text-to-Speech: Convert text to speech
- Custom Commands: Add custom commands to your bot
5
Inviting Bot to Server
Create an invite link to invite your bot to your Discord server.
- Go to "OAuth2" tab in Discord Developer Portal
- Select "URL Generator" sub-tab
- In Scopes section, check "bot" and "applications.commands"
- In Bot Permissions section, select the necessary permissions:
- Send Messages
- Read Message History
- Use Slash Commands
- Connect (for voice)
- Speak (for voice)
- Use Voice Activity
- Copy the generated URL and open it in your browser
- Select the server you want to add the bot to
- Click "Authorize" button
Success: Your bot should now be online and visible in your Discord server!
6
Bot Configuration
You can make additional configurations for your bot to work more effectively.
Personality Settings
You can customize your bot's personality in Friendify Dashboard:
- Default Assistant: Professional approach for general use
- Friendly Companion: Warm and fun conversation
- Professional Consultant: Business and education focused
- Technical Expert: Programming and technology topics
- Motivation Coach: Supportive and motivating
- Humor Master: Funny and entertaining responses
- Scientist: Analytical and detailed explanations
- Creative Artist: Creative and imaginative
Advanced Features
Voice Processing: Your bot can understand voice messages from voice channels and respond.
Contextual Memory: Bot remembers previous conversations and responds accordingly.
7
Testing Your Bot
Test to make sure your bot is working properly.
Basic Tests
- Type
@YourBot hello
to your bot in Discord server
- Test slash commands:
/help
- Ask questions on different topics
- Test your bot in voice channel (if voice feature is enabled)
Features to Check
- ✅ Is the bot showing as online?
- ✅ Does it respond to messages?
- ✅ Do slash commands work?
- ✅ Does it give responses appropriate to the selected personality?
- ✅ Does it display Turkish characters correctly?
Example test messages:
- Hello! How are you?
- What's the weather like today?
- Tell me a joke
- Give me information about Python programming
- Use /help command for help
8
Troubleshooting
Common problems and their solutions:
Bot Not Online
- Make sure the token is entered correctly
- Check that Privileged Gateway Intents are enabled
- Check bot status in Friendify Dashboard
Bot Not Responding to Messages
- Check that MESSAGE CONTENT INTENT permission is enabled
- Verify that the bot has permission to send messages in the channel
- Test by @mentioning your bot
Slash Commands Not Working
- Make sure you gave "applications.commands" permission when inviting the bot
- Wait a few minutes (commands may take time to sync on Discord)
- Leave the server and rejoin
Voice Features Not Working
- Make sure Connect and Speak permissions are given
- Check that voice features are enabled in Friendify
- Join voice channel and invite your bot