Skip to content

Commit

Permalink
refactor: big rewrite
Browse files Browse the repository at this point in the history
With now less mutex and more iiiiiiiiiiiiiiiiiiiiiiii
  • Loading branch information
TheTipo01 committed Aug 26, 2023
1 parent 08abae5 commit f8f20b7
Show file tree
Hide file tree
Showing 17 changed files with 605 additions and 501 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: "Code Scanning - Action"

on:
push:
branches: [master]
branches: [ master ]
pull_request:
branches: [master]
branches: [ master ]

jobs:
CodeQL-Build:
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,18 @@ jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
-
name: Set up Go
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.20.5
-
name: Run GoReleaser
go-version: 1.21.0
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15 changes: 3 additions & 12 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,16 @@ builds:
- arm
- arm64
ignore:
- goos: darwin
goarch: arm64
- goos: darwin
goarch: arm
- goos: windows
goarch: 386
- goos: windows
goarch: arm
archives:
- replacements:
'386': i386
darwin: Darwin
linux: Linux
windows: Windows
amd64: x86_64
- format: zip
files:
- README.md
- LICENSE
- example_config.yml
- balcon.exe
- libsamplerate.dll
checksum:
name_template: checksums.txt
snapshot:
Expand Down
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
# roberto

[![Go Report Card](https://goreportcard.com/badge/github.com/TheTipo01/roberto)](https://goreportcard.com/report/github.com/TheTipo01/roberto)

Discord TTS bot

[I have an instance hosted locally if you want to try the bot out!](https://discord.com/api/oauth2/authorize?client_id=587761918865834023&permissions=3145728&scope=bot%20applications.commands)

## Notes

- We now use slash commands (from release [0.6.0](https://github.com/TheTipo01/roberto/releases/tag/0.6.0))
- Dependencies: [DCA](https://github.com/bwmarrin/dca/tree/master/cmd/dca), [ffmpeg](https://ffmpeg.org/download.html) and Loquendo Roberto SAPI voice
- Dependencies: [DCA](https://github.com/bwmarrin/dca/tree/master/cmd/dca), [ffmpeg](https://ffmpeg.org/download.html),
Loquendo Roberto SAPI voice and [balcon.exe](http://cross-plus-a.com/bconsole.htm)

To download, see the releases page.

Expand All @@ -23,8 +26,11 @@ To download, see the releases page.

`/preghiera` - Randomly select a custom command

`/addcustom <custom command> <text>` - Creates a custom command to say inputted text out loud. The bot will replace <god> with a random evangelical figure and <dict> with a random adjective
`/addcustom <custom command> <text>` - Creates a custom command to say inputted text out loud. The bot will
replace <god> with a random evangelical figure and <dict> with a random adjective

`/custom <custom_command>` - Executes a previously created custom command

`/rmcustom <custom command>` - Removes a custom command

`/stop` - Stops the bot from speaking
Binary file removed balcon.exe
Binary file not shown.
Loading

0 comments on commit f8f20b7

Please sign in to comment.