Guest User

Inori Help

a guest
Aug 30th, 2022
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. Heads up, sorry for the long message.
  2.  
  3. How would I connect a bot to a custom website of mine just to use it as a database to hold keys, for example
  4.  
  5. I do /genkey 2 (I want it to gen 2 random keys then those keys also get added to the database).
  6.  
  7. https://gyazo.com/3d0575552158dba99185fcd2bce8e35b
  8.  
  9. So once it's added to the database someone can go /redeem {key} and it gives them a role and logs their Discord IDS in the database and also make the key they used invalid to others.
  10.  
  11. https://gyazo.com/59dc211db7bc35e8f7446f4bd9c4f0cd
  12.  
  13.  
  14. -----> IMPORANT <-----
  15. So I want to know how you connect your bot to log stuff into a database and how to create random number + letters command.
  16.  
  17. The database might be a step out of your territory but just wandering if anyone knows.
  18.  
Advertisement
Add Comment
Please, Sign In to add comment