Open
Conversation
Using with statement for play command to reduce space
It lives! It's starting at the very least!
I don't know why this was here, maybe because nostrum needed it at some point but everything seems to work fine* without it. * It wasn't to start, I can't even get the status to change so this commit might have to be reversed
Apparently nostrum does injection of consumer now so need to make a hash and touple for it.
Left it in here by accident
Look at all of the script elements to get the `client_id`. Now it loops through the scripts in reverse in hopes of finding the SoundClound token.
Add basic interaction for help
The old value was changed by accident during testing
Add the correct flags to make the command be disappearing.
Working commands for forward and backward.
Discord messed something up so I need to use the git version of Nostrum for it to work.
Using better conditionals and such.
Better error handling for poision and httpoison
zastrixarundell
commented
Jan 11, 2024
Collaborator
Author
There was a problem hiding this comment.
There's no time of the message when using the slash commands so 🤷
zastrixarundell
commented
Jan 11, 2024
| "Yeah, that won't work.", | ||
| "The link you tried to provide me isn't working. Recheck it." | ||
| ), | ||
| 1 <<< 6 |
Collaborator
Author
There was a problem hiding this comment.
Probably should use an enum/map or something for this.
Add support for OCI. I have no idea why `podman-compose` doesn't work, for some reason it goes straight into `/bin/sh` instead of the defined `CMD`.
Add environment configuration for the docker-compose.yml file.
Add container name to the default compose file.
Put `_` for unused value and better information on the Logger.debug/1 call
Added correct specs and change some functions to be private as they're not designed ot be used outside of the current module.
`use Mix.Config` is deprecated.
Rather than naming the user cassian, it's named builder and runner respectively for their function. The main functionality isn't changed though.
Youtube-dl already has youtube and soundcloud setup. So in order to not invent hot water it was opted out to not use a genserver hack with floki (TODO: Remove Floki, possibly HTTPoison as well) and it's just made that youtube-dl from path is used.
Sometimes the metadata might take a few seconds. This fixes the issue by not allowing playlists and by sending an initial wait message and there won't be an issue as long it responds within 15 minutes.
Managed to make `playlist`, `next` and `previous` work with interactions. Need to see how to implement disapearring messages but it's mostly working.
Basically I want for my bot to be restarted on every boot and such.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.