Categorygithub.com/seedao-opensource/seedcbot
modulepackage
0.0.0-20240706112254-72c40e939d20
Repository: https://github.com/seedao-opensource/seedcbot.git
Documentation: pkg.go.dev

# README

SeeDcBot

将DC连接SeeDAO生态

支持功能

  • Notion 悬赏酒馆同步至Dc论坛
  • Discord 活动同步到 Google 日历

安装部署

  1. 下载依赖包:
    go mod init main
    go mod tidy
    
  2. 配置文件
    // 配置 config.json
    {
        // discord token
        "Discord_bot_auth": "",
        // notion token
        "Notion_auth": "",
    
        // 酒馆同步配置
        // database id
        "TavernSync_NotionDb_id": "",
        // dc频道id
        "TavernSync_DcChannel_id": ""
    }
    
  3. 构建项目:
    go build
    
  4. 运行项目:
    chmod 700 ./main
    ./main
    

开发指南

  1. Notion 调用
    notionClient.
    
  2. Discord 调用
    discordSession.
    
  3. Sqlite 调用
    sql.Open("sqlite3", "./....db")
    
  4. Google 调用
    googleClient.
    

# Structs

No description provided by the author
No description provided by the author
No description provided by the author