mirror of
https://github.com/kuhyx/signal-bot.git
synced 2026-07-04 13:43:12 +02:00
Address code review feedback and fix security issues
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
This commit is contained in:
parent
4e260c0551
commit
096a5cb4df
3
.github/workflows/go.yml
vendored
3
.github/workflows/go.yml
vendored
@ -6,6 +6,9 @@ on:
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
2
main.go
2
main.go
@ -162,6 +162,8 @@ type SendMessageRequest struct {
|
||||
}
|
||||
|
||||
// Command triggers
|
||||
// These include various Unicode variants for compatibility with different input methods
|
||||
// and to match the original Python implementation's command variations
|
||||
var catCommands = []string{"!kot", "!koty", "!kots", "!cat", "!cats", "!meow", "!miau", "!ᴋᴏᴛ", "!𝓴𝓸𝓽", "!𝗸𝗼𝘁"}
|
||||
var dogCommands = []string{"!pies", "!psy", "!dog", "!dogs", "!woof", "!szczek", "!𝗽𝗶𝗲𝘀", "!͓̽p͓̽i͓̽e͓̽s͓̽"}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user