fix: remove garbled terminal output

This commit is contained in:
lpf
2026-03-11 19:20:20 +08:00
parent 13108b0333
commit b3c0f58998
8 changed files with 44 additions and 44 deletions

View File

@@ -55,7 +55,7 @@ func channelHelp() {
func channelTestCmd() {
to := ""
channelName := ""
message := "This is a test message from ClawGo 馃"
message := "This is a test message from ClawGo"
args := os.Args[3:]
for i := 0; i < len(args); i++ {
@@ -104,11 +104,11 @@ func channelTestCmd() {
fmt.Printf("Sending test message to %s (%s)...\n", channelName, to)
if err := mgr.SendToChannel(ctx, channelName, to, message); err != nil {
fmt.Printf("鉁?Failed to send message: %v\n", err)
fmt.Printf("Failed to send message: %v\n", err)
os.Exit(1)
}
fmt.Println("鉁?Test message sent successfully!")
fmt.Println("Test message sent successfully.")
}
func whatsAppChannelCmd() {