Antonio Nardella
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Set up a DAO infrastructure ## Soonaverse Join [Soonaverse](https://soonaverse.com/) and set up a space there ## Discord Use the following template: https://discord.new/nPsPw4JzrEkP ### Initial steps #### Server Overview Set name Upload server image Disable `Prompt members to reply to welcome messages with a sticker` Set default notification settings to `Only @mentions` #### Channels Set up an #announcements channel in the `┌─ News ─┐` category ### Discord bots Make sure to use the `#bot-commands` for setting up all the channels and have a history of all the setup Make sure to give the bots the`Bots` role on Discord for better filtering #### User verification, Raid protection [Verification bot](dcounter.space) [Documentation](https://docs.dcounter.space/) Setup (according to the Documentation): - The first channel to be created is a welcome channel, where users will land when they join your server. You can use an existing welcome channel. `dc.config channel #verification-help` - Logs channel `dc.config logs #verification-logs` - Verification role: This is the role that's gonna be added to new users who pass the verification. This role doesn't require extra permissions. `dc.config role @Individuals` - Autoban allows you to automatically ban alt accounts when they try to join your server. `dc.settings autoban` and click on the YES button - Log all successful attempts as well `dc.settings logs` and click on the YES button - Set the `Admin` Discord role to manage the bot `dc.settings staffrole @Admin` - Opens the on-join disallowed DM alert. The bot will now ping users and ask them to open DMs when they join if needed `dc.settings opendm` and click on the YES button - Go to the #verification-help channel and type `dc.panel`, then delete your message and leave the button ![](https://i.imgur.com/ttEFjU4.png) #### Moderation bot [Dyno moderation bot](https://dyno.gg) Setup: First steps, chose your command prefix and timezone ![](https://i.imgur.com/klTVcnT.png) Updates channel ![](https://i.imgur.com/5lKtWkp.png) #### Translations bot https://mrtranslate.xyz/ ### Captcha Discord invite **Prerequisites**: - Discord bot - Domain, third level domain - GitHub account - Google account for reCaptcha - Vercel account (Google account) https://github.com/metaversetns/discord-invite-captcha #### Get recaptcha v2 keys https://www.google.com/recaptcha/admin ![](https://i.imgur.com/NxQcbLe.png) #### Vercel #### Domain ## Telegram <> Discord bridge **Prerequisites**: - Discord bot - Discord bot token - Discord server ID - Discord channel ID - Telegram bot - Telegram bot token - Telegram group ID - VPS or similar to run the bridge ### Set up the Discord bot https://discord.com/developers/applications ![](https://i.imgur.com/NHEGMDY.png) #### Add bot ![](https://i.imgur.com/9V3uarq.png) #### Change Authorization Flow settings Disable `Public bot` Enable `Server members intent` ![](https://i.imgur.com/5FNhlB1.png) #### Invite the bot In `URL Generator` click on bot and invite bot to the Discord server by using the generated URL at the bottom ![](https://i.imgur.com/h1TjQZO.png) Authorize the bot to your Discord server ![](https://i.imgur.com/ta58P3G.png) #### Get the bot token Go back to the `Bot` section, click on `Copy` to get the **`Discord bot token`**. **:warning: Make sure to store this key safely. It will be used later to set up the bridge.** ### Set up the bot in the Discord server *Optional*: Go to the Discord server and give the bot the `Bot` role! [](https://i.imgur.com/t4jfU03.png) #### Set up the Discord channel settings Go to the channel you want to bridge, in this example the `#general` channel and set the following permissions to the `Bot` role or the single `bridge bot` you just created - `View Channel` - `Manage Webhooks` - `Send Messages` - `Read Message History` ### Set up the Telegram bot Contact `@BotFather` on Telegram to set up the bot #### Create a new bot - `/newbot` to set up the new bot and follow the instructions Give it a name, in this case `Metaverse Trillionaires Bridge` and then a username with `_bot` at the end, in this case `metaversetns_bot`. :warning: Make sure to write down the **`Telegram bot token`** HTTP API and to store it safely. It will be used later to set up the bridge. ![](https://i.imgur.com/syRIKlb.png) #### Change privacy settings Type `/setprivacy` and select `Your bot` ![](https://i.imgur.com/MWWvrwY.png) Click on `Disable` ![](https://i.imgur.com/0SRLvEe.png) Done ![](https://i.imgur.com/kijOUjW.png) #### Invite the bot to your group ![](https://i.imgur.com/cq92DLc.png) ### Install Matterbridge to your server/VPS https://github.com/42wim/matterbridge/ **:warning: This is a simple setup how-to. Make sure to rely on professional DevOps/Security guidance for a secure set up of the bridge** The installation in this guide will be done on a GNU/Linux system #### Get the latest release Go to https://github.com/42wim/matterbridge/releases/ and copy the link to the latest release for your system, in this example for Linux 64 bit `https://github.com/42wim/matterbridge/releases/download/v1.23.2/matterbridge-1.23.2-linux-64bit` #### Get matterbridge `wget https://github.com/42wim/matterbridge/releases/download/v1.23.2/matterbridge-1.23.2-linux-64bit` #### Rename and make matterbridge executable `mv matterbridge-1.23.2-linux-64bit matterbridge` `chmod +x matterbridge` Execute matterbridge and test `./matterbridge` ![](https://i.imgur.com/DTwnPKr.png) ### Configure Matterbridge More information about the configuration is available in the [official Wiki by Matterbridge](https://github.com/42wim/matterbridge/wiki) **Requisites** - the **`Discord token`** from earlier in the guide - the **`Telegram bot token`** from earlier in the guide #### Get the Discord Server ID (also called Guild ID) - Open up the Discord app - Click on the settings cog in the bottom left corner - Go to Appearance -> all the way at the bottom - Toggle "Developer Mode" on Right click on the `Discord Server Icon` in Discord and click on `Copy ID` ![](https://i.imgur.com/mBDXijc.png) #### Get the Discord Channel ID Right click on the Discord channel, in this case `#general` and click on `Copy ID` ![](https://i.imgur.com/rIBStae.png) #### Get the Telegram Group ID The easiest way to get the Telegram Group ID is to open Telegram in the browser and copy the ID from there. Open https://web.telegram.org and look at the URL ![](https://i.imgur.com/BrA0i51.png) In this example the Group ID is `-1614255633`. :warning: Make sure to add `100` in front of the group ID for it to work. In this example the correct ID is **`-1001614255633`** #### Create the configuration file Use your preferred editor and save the file as `matterbridge.conf` ``` [discord.mydiscord] # describes the discord configuration start Token="INSERT DISCORD BOT TOKEN HERE" Server="INSERT DISCORD SERVER ID HERE" # picked from guilds the bot is connected to RemoteNickFormat="[{PROTOCOL}] <{NICK}> " AutoWebhooks=true [telegram.mytelegram] # describes the telegram configuration start Token="INSERT TELEGRAM TOKEN HERE" RemoteNickFormat="({PROTOCOL}) {NICK}" MessageFormat="HTMLNick" [[gateway]] # describes the gateway (bridge) configuration name="Metaverse trillionaires #general to https://t.me/metaversetns" # easy to understand description of the gateway enable=true # enable this gateway [[gateway.inout]] # inout means that the gateway goes both ways account="discord.mydiscord" channel="ID:INSERTCHANNELIDHERE" [[gateway.inout]] account="telegram.mytelegram" channel="INSERTTELEGRAMGROUPIDHERE" ``` #### Run Matterbridge `./matterbridge -conf matterbridge.conf` ![](https://i.imgur.com/C15Pj8o.png) #### Test Matterbridge ![](https://i.imgur.com/1uUg5ss.png) ![](https://i.imgur.com/uOaYlFk.png)

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully