You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
If a student wants to upload a file to G-Drive, it needs to first upload the file to the dedicated channel g-drive and then one of the admins needs to manually upload the same file into the G-Drive and place it in the correct location. This is a bit tedious and requires extra work that could be avoided.
Describe the solution you'd like
The idea would then to create a bot command /upload, where it would contain entries like course name, type and year. The student would need to fill in those and in addition upload the file. The bot would then retrieve the file and the information associated with it and would download the file, update the file name to a standard convention (which needs to be defined) and upload to the G-Drive using the API available. Once performed this action, it would delete the downloaded file and let the user know that it was successfully uploaded or, in worst case scenario, that a problem occurred.
Additional context
Having done some research, there is no possibility of sending a file and at the same time use a slash command. A workaround, would be to use the old style commands, where we define a command prefix such as ! and then use it this way, where we need to manually parse then different entries. The command would then look like !upload course_name type year
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
If a student wants to upload a file to G-Drive, it needs to first upload the file to the dedicated channel
g-drive
and then one of the admins needs to manually upload the same file into the G-Drive and place it in the correct location. This is a bit tedious and requires extra work that could be avoided.Describe the solution you'd like
The idea would then to create a bot command
/upload
, where it would contain entries likecourse name
,type
andyear
. The student would need to fill in those and in addition upload the file. The bot would then retrieve the file and the information associated with it and would download the file, update the file name to a standard convention (which needs to be defined) and upload to the G-Drive using the API available. Once performed this action, it would delete the downloaded file and let the user know that it was successfully uploaded or, in worst case scenario, that a problem occurred.Additional context
Having done some research, there is no possibility of sending a file and at the same time use a slash command. A workaround, would be to use the old style commands, where we define a command prefix such as
!
and then use it this way, where we need to manually parse then different entries. The command would then look like!upload course_name type year
The text was updated successfully, but these errors were encountered: