command
module
Version:
v0.0.0-...-fa0386d
Opens a new window with list of versions in this module.
Published: Jul 11, 2024
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
go-redmine-discord-notificator
完全に個人用に作っているため、雑に書いています
- 送信元からはSMTPサーバーとして振る舞い、DiscordのDMへメールの題名と本文を送るプロキシ的なやつ
- メールのToのlocalpartをDisplayNameと考え、MemberListに書かれたDisplayNameと対応するDiscordIDに対してDMを送る
- 想定としてはRedmineの個人宛通知メールをDiscordに送るためのもの
事前準備
動かし方
Linux or macOSを想定しています。
git clone https://github.com/mikuta0407/go-redmine-discord-notificator.git
cd go-redmine-discord-notificator
go build
DISCORD_TOKEN="ReplaceToYourDiscordBotToken" ./go-redmine-discord-notificator
-l 0.0.0.0:25とかすれば無防備に25番で口を開ける。
- 何もしなければ
127.0.0.1:1025で開く
参考(というかここの改変)
LICENSE
MIT
Documentation
¶
Copyright (c) 2016 emersion
Copyright (c) 2024 mikuta0407
Released under the MIT license
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.