Skip to content

Commit bb2ce87

Browse files
committed
let's have a chat
1 parent 8311826 commit bb2ce87

1 file changed

Lines changed: 29 additions & 2 deletions

File tree

main.go

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import (
77
"os"
88
"slices"
99
"strings"
10-
"time"
1110

1211
"github.com/codeshelldev/gotl/pkg/logger"
1312
"github.com/codeshelldev/gotl/pkg/pretty"
@@ -71,7 +70,7 @@ func m() {
7170
7271
Since the last {i}2 months{/} {i}(wow, has been it been long…){/}
7372
74-
we have started to gain a lot of {b,fg=yellow}pulls{/} and {b,fg=yellow}starts{/} ⭐️.
73+
we have started to gain a lot of {b,fg=yellow}pulls{/} (2K! 🤯) and {b,fg=yellow}starts{/} ⭐️.
7574
We even got some {b,fg=blue}issues{/} opened by you all 🥳!
7675
7776
– CodeShell 🐢`,
@@ -81,6 +80,34 @@ We even got some {b,fg=blue}issues{/} opened by you all 🥳!
8180

8281
fmt.Println(box.Render())
8382

83+
// TODO remove matrix chat note
84+
box2 := pretty.NewAutoBox()
85+
box2.MinWidth = 60
86+
box2.PaddingX = 2
87+
box2.PaddingY = 1
88+
89+
box2.Border.Style = pretty.BorderStyle{
90+
Color: pretty.Basic(pretty.Blue),
91+
}
92+
box2.AddBlock(pretty.Block{
93+
Align: pretty.AlignCenter,
94+
Segments: []pretty.Segment{
95+
pretty.StyledTextBlockSegment{
96+
Raw: `{b,fg=blue}💬 Come have a Chat! 💬{/}
97+
98+
Ask for {b,fg=green}help{/}, share your {b,fg=green}ideas{/} or just {b}chat{/} about {b}SSA{/} and related
99+
in our new {b}Matrix Chat{/}!
100+
101+
Why Matrix and not Discord? It is the {i}opensource way{/}! 📭️
102+
103+
{b}Come and join the discussion{/}:
104+
{b,fg=bright_blue}https://matrix.to/#/#secured-signal-api:matrix.org{/}`,
105+
},
106+
},
107+
})
108+
109+
fmt.Println(box2.Render())
110+
84111
config.Load()
85112

86113
config.Validate()

0 commit comments

Comments
 (0)