Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

Commit

Permalink
add Revision
Browse files Browse the repository at this point in the history
  • Loading branch information
zhixuan2333 committed Mar 16, 2022
1 parent c8ffa3c commit 3d613cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,14 @@ See [quickstart.md](./docs/quickstart.md)
- [x] Image
- [x] Video
- [ ] Voice(WIP)
- [ ] Sticker(not supported, but send sticker ID)
- [ ] File(Unpossible)
- Discord --> Line
- [x] Message
- [x] Image
- [x] File(Send file url)
- [x] Video
- [ ] Sticker
- [ ] Voice...

## Contributing
Expand Down
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,14 @@ var (
ParentID string
DatabaseURL string
Version string
Revision string
)

const preview = "?width=486&height=487"

func init() {
log.SetLevel(log.InfoLevel)
log.Infof("line2discord %v", Version)
log.Infof("line2discord %v+%v", Version, Revision)
err := godotenv.Load()
if err != nil {
log.Warn("Not found .env file passed", err)
Expand Down

0 comments on commit 3d613cd

Please sign in to comment.