Import Codes
With this command you can import codes from a google sheet to use to access your panel
info
To run this command you must have Administrator Permission
Run the commandโ
/code-role sheet-import message-id: expires: uses: sheet-id: sheet-column:
Input the options
- Message-ID -> The string of numbers that is the unique to the message of the code panel you would like to make codes for - Help click here, or in the Streamline support discord
- Expires -> this will give you choices to choose from 1Min up to 30d
- Uses -> how many times the code can be used
- Sheet-id
This is a string of characters from the url, the string after .../d/ and before /edit...
https://docs.google.com/spreadsheets/d/1GJj8j1ubTsYU7ZE7hyms3bDByLv43zS8gGLylgdRZa8/edit#gid=0
In the above example the Sheet-id is1GJj8j1ubTsYU7ZE7hyms3bDByLv43zS8gGLylgdRZa8 - Sheet Column
This is the spreadsheet column that the codes are in, e.gA
Ensure your spreadsheet is uploaded as a google sheet
-d0f8a872b092db35b1b104340f1b9b0a.png)
Ensure your google sheet is made public, to do so click share and ensure it is set to 'Anyone with the link' additional information HERE
-6eee820e3db32bf5fcdd1784828fd4d9.png)
Run the Commandโ
-3aa6c32c79e96c87d1a8cf9c9e3cb69b.png)
Streamline will ask you to clarify these options and once 'Yes' is clicked add it to the Database ready for users to use.
-2f8dfa3afd29c94f3293d6e512950d02.png)