add separator
Jes Olson j3s@c3f.net
Sun, 20 Mar 2022 15:49:31 -0400
1 files changed,
9 insertions(+),
9 deletions(-)
jump to
M
main.go
→
main.go
@@ -81,14 +81,14 @@ return
} if e.Message == "!help" { helpmsg := ` - # help - !help - # list sounds - list - # make youtube thing - !https://www.youtube.com/watch?v=dQw4w9WgXcQ > rickroll - # make personal intro - !intro rickroll` + # help<br> + <pre>!help</pre><br> + # list sounds<br> + <pre>list</pre><br> + # make youtube vid into sound<br> + <pre>!https://www.youtube.com/watch?v=dQw4w9WgXcQ > rickroll</pre><br> + # make personal intro<br> + <pre>!intro rickroll</pre><br>` e.Sender.Send(helpmsg) } if strings.HasPrefix(e.Message, "!intro ") {@@ -151,7 +151,7 @@ for i := len(keys); i > 0; {
if selectionScopeEnd > len(keys) { selectionScopeEnd = len(keys) } - listThing := strings.Join(keys[selectionScopeStart:selectionScopeEnd], " ") + listThing := strings.Join(keys[selectionScopeStart:selectionScopeEnd], " | ") selectionScopeStart += 200 selectionScopeEnd += 200 e.Sender.Send(listThing)