-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Per-user folders #12
Comments
If this is not possible, how would one upload files to the directory of their username? |
Hello, it is not possible for the API to know which file belongs to whom, it has no database and doesn't keep any kind of record anywhere unless you use a Discord webhook. In such a case, the workaround would be to use a bot fetching all the messages in your log channel, extract all the filenames that were created by the user, then run a loop to delete them all… you guessed it, that's not practical at all nor recommended in any way. Regarding the per-user folders, this is not (yet) possible but since you're the 2nd person to actually request that feature, I'll try to add it along with the other improvement I am thinking about. I'll keep this issue open and reference it when I commit said feature. |
Alright, Thanks. |
This is really good idea. Per user folders. The image url should look then like www.mydomain.com/user/image.png , you don't need any bot that will be fetching messages from log channel. it does not matter that it will be not www.mydomain.com/image.png |
Is it possible to delete all (of a single) users files?
The text was updated successfully, but these errors were encountered: