-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A way to organize downloads #140
Comments
If you're using a bot on your own server on Discord, then create multiple channels on your server and invite your bot (and the Midjourney bot) to the channel. You'd have to add the channels to your configuration file for DDG, but when the bot downloads, it will put them into folders named for the channel, should you turn on those settings. |
@tabishm0n Yes but not simultaneously with a separate config for that same Discord source. You can use "filters" -> "allowedPhrases" to only listen for messages containing pings of that role; Example: "filters": {
"allowedPhrases": [ "<@1230000000000>" ]
} The way the bot is currently structured, it only binds to the first matched settings group it can find, not multiple. So you could have a settings group that scrapes all media or you could have a settings group that only scrapes media when this role is pinged, but not both simultaneously, bound to the same Discord source. I'll keep this in mind for restructuring in the future, to allow for multiple settings groups to apply to the same source, but I'd have to change quite a few integral things so it would be a task, not sure when I'll get time. |
The dirty method would simply be to swap configuration files and and restart the application. You might have to use a pass-under if the settings file is held open (name the desired config file *.new, then on restart, look to see if there is a *.new file and rename it and then load it-- no *.new, load the last one). |
Is there a way to download media into a specific folder if a message contains a specific role that was pinged with it or a specific message/tag?
The text was updated successfully, but these errors were encountered: