command
module
Version:
v0.0.0-...-72c40e9
Opens a new window with list of versions in this module.
Published: Jul 6, 2024
License: MIT
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
SeeDcBot
将DC连接SeeDAO生态
支持功能
- Notion 悬赏酒馆同步至Dc论坛
- Discord 活动同步到 Google 日历
安装部署
- 下载依赖包:
go mod init main
go mod tidy
- 配置文件
// 配置 config.json
{
// discord token
"Discord_bot_auth": "",
// notion token
"Notion_auth": "",
// 酒馆同步配置
// database id
"TavernSync_NotionDb_id": "",
// dc频道id
"TavernSync_DcChannel_id": ""
}
- 构建项目:
go build
- 运行项目:
chmod 700 ./main
./main
开发指南
- Notion 调用
notionClient.
- Discord 调用
discordSession.
- Sqlite 调用
sql.Open("sqlite3", "./....db")
- Google 调用
googleClient.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.