v3.0.0

Build Discord Servers
from a Text File

DS Motier is a Discord bot that builds servers from a text template (DSL v3.0). Roles, channels, categories, forums, tickets, temp voice - all with one command.

DS Motier - build log
$ python main.py
[22:14:03] Loading config...
[22:14:03] Connecting to Discord API
Bot authorized as DS Motier#1337
[22:14:04] Waiting for command...

$ /build server.txt
[22:14:07] Reading template...
[22:14:07] Validating DSL v3.0
Template is valid
[22:14:08] Creating roles...
[22:14:08] Creating channels...
Server built: 12 channels, 5 roles, 3 categories
$

Everything in One Template

DSL v3.0 describes the entire server in text. No panels, no clicks, no competing bots.

Build

Upload a .txt template - the bot builds the server automatically. Roles, channels, permissions - all from one file.

Export

Export the current server structure to DSL format for backup or cloning.

Sync

Sync all slash commands with one command. Server owner only.

Roles & Permissions

Create roles with color, permissions and display. Manage access via allow/deny by role names.

Tickets

Built-in ticket system via buttons. Automatic creation of private channels.

Temp Voice

Temporary voice channels. Users create their own rooms - they are deleted when empty.

Reaction & Button Roles

Reaction and button roles. Assign roles with a single click.

Advanced DSL

INCLUDE, VAR, CATEGORY, FORUM, STAGE, COUNTER, AUTO_MESSAGE, WELCOME - full set of v3.0 blocks.

- -
GitHub Stars
v3.0
Latest Release
Python
discord.py

Template → Server

A single text file describes roles, channels, categories, forums, tickets, temporary voice channels.

server.txt
// server.txt - DSL v3.0
@name "My Server"

!INCLUDE "base.txt"

$color_main = #5865F2
$prefix = "!"

CATEGORY "Information" {
  CHANNEL #📜-rules {
    @slowmode 5
  }
  CHANNEL #📢-news
}

CATEGORY "Chat" {
  CHANNEL #general
  CHANNEL #offtopic
  FORUM "Support" {
    THREAD bug-report
    THREAD question
    THREAD suggestion
  }
}

ROLE "Moderator" color=$color_main {
  @permissions kick_members, ban_members
  @display separate
}

TICKET "Contact us" {
  @category "Support"
  @button 📩 Create ticket
}

TEMP_VOICE "Create room" {
  @category "Voice"
  @button 🔈 Create
}
server built
📁 Information
  ┣ 📜 #rules (slowmode 5s)
  ┗ 📢 #news
📁 Chat
  ┣ #general
  ┣ #offtopic
  ┗ 📁 Support
    ┣ 🔧 bug-report
    ┣ ❓ question
    ┗ 💡 suggestion
📁 Voice
  ┗ 🔈 Create room (temp)
🔧 Tickets: Contact us
🛡️ Roles: Moderator

Start in 3 Steps

From installation to your first server - under a minute.

01

Install

Install dependencies and configure the bot.

pip install -r requirements.txt
cp config.example.py config.py
02

Configure

Open config.py and paste your Discord bot token.

TOKEN = "your-bot-token-here"
03

Launch

Run the bot and load the server template.

python main.py
# On the server: /build

Simple & Powerful

Three commands - full control over your server.

/build Upload a .txt template and build the server
/export Export the server to DSL format
/sync Sync slash commands (owner only)

Creating a Bot

Register a new bot on Discord in just a few minutes. Everything is done in the browser, no installations needed.

01

Create an Application

Go to the Discord Developer Portal and click "New Application". Enter the bot name.

1. Open https://discord.com/developers/applications
2. New Application → "DS Motier"
3. Save the Application ID
Discord Developer Portal →
02

Create the Bot

In the Bot section, click "Add Bot". Enable the required Gateway Intents.

Bot → Add Bot
✓ SERVER MEMBERS INTENT
✓ MESSAGE CONTENT INTENT
✓ PRESENCE INTENT
03

Copy the Token

Click "Reset Token" and copy the token. It is needed in config.py.

TOKEN = "your-bot-token-here"
04

Invite the Bot

In OAuth2 → URL Generator, select bot and administrator permissions, then open the generated link.

Scopes: bot
Permissions: Administrator
→ Generate URL → Open

Frequently Asked Questions

Everything you need to know before starting.

What is DS Motier?

An open-source Discord bot that builds server structure from a text template. Instead of manually creating each channel and role, you write one .txt file.

Do I need programming experience?

No. DSL is a simple text format. Just open a text editor and describe the structure. Examples are in the documentation.

What permissions does the bot need?

The bot needs permission to manage the server (administrator or manage channels + manage roles). All actions are done via slash commands.

Can I update an existing server?

Yes. The /build command applies the template on top of the current structure: creates missing channels, updates roles, but leaves existing content untouched.

Is it free?

Yes. Open-source under the MIT license. You can use, modify, and distribute the bot without restrictions.