Skip to content

Commit

Permalink
v0.2.16 (#142)
Browse files Browse the repository at this point in the history
* starting to add get playlist

* get_playlist command

* remove unused code

* lower timer

* update .env.example to include postgres db

* fix name

* cargo update

* add settings command back

* add settings command back

* add settings command back

* remove separate config module

* fix linting

* .build.yml

* asdf

* cleanup config

* reuse pool and better organize commands

* linting

* implement more logging

* version bump and fix linting

* asdf

* docker build

* docker image builds, not to get it to rfun...

* put back some  admin commands and fix stuff

* self-deafen toggle

* tarpaulin ignore

* add clean command

* add libraries for tracing

* linting

* re-factoring

* continuing to refactor the settings commands

* refactoring settings

* Reset volume on summon

* add get_volume

* volume command and cleanup

* fix linting

* refacotiring settings

* cleanup more

* add toggle self deafen command

* cargo update

* add names to guild configs

* should test this

* Fix volume sutff (again)

* return user from insert_or_update_user

* update dockerfile and compose

* fix docker file and bell labs

* add -> add_to

* fix queued embed
  • Loading branch information
cycle-five authored Jan 22, 2024
1 parent dd5c327 commit d8bab74
Show file tree
Hide file tree
Showing 76 changed files with 2,430 additions and 897 deletions.
12 changes: 11 additions & 1 deletion .build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,18 @@ tasks:
- install-rust: |
curl -proto '=https' -tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
. "$HOME/.cargo/env"
rustup default stable
rustup install nightly
rustup default nightly
- fmt: |
. "$HOME/.cargo/env"
cd cracktunes
cargo +nightly fmt --all -- --check
- lint: |
. "$HOME/.cargo/env"
cd cracktunes
cargo +nightly clippy --all -- -D warnings
- test: |
. "$HOME/.cargo/env"
cd cracktunes
# cargo tarpaulin --verbose --all-features --workspace --timeout 120 --out xml
cargo test
22 changes: 11 additions & 11 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# [REQUIRED] To authenticate with Discord, you must create a Discord app.
# See more: https://discord.com/developers/applications
DISCORD_TOKEN=XXXXXX
DISCORD_APP_ID=XXXXXX
export DISCORD_TOKEN=XXXXXX
export DISCORD_APP_ID=XXXXXX

# [REQUIRED] Postgres database URL for the bot to use.
#
export DATABASE_URL=postgresql://postgres:mysecretpassword@localhost:5432/postgres
export PG_USER=postgres
export PG_PASSWORD=mysecretpassword

# [Optional] To support Spotify links, you must create a Spotify app.
# See more: https://developer.spotify.com/dashboard/applications
SPOTIFY_CLIENT_ID=XXXXXX
SPOTIFY_CLIENT_SECRET=XXXXXX
export SPOTIFY_CLIENT_ID=XXXXXX
export SPOTIFY_CLIENT_SECRET=XXXXXX

# [Optional] OpenAI API key for the chatgpt feature.
#
OPENAI_KEY=XXXXXX

# [Optional] Database URL for the bot to use.
#
DATABASE_URL=postgres:///data/crackedmusic.db
PG_USER=postgres
PG_PASSWORD=mysecretpassword
export OPENAI_API_KEY=XXXXXX

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d8bab74

Please sign in to comment.