Read from a CSV file

What I want:
A command to go to an file (google doc, drop box, whatever) and read a random element and then report it back to the channel. I’d like the file to just be a CSV (Comma Separated Value) if I can.

Goal: I want my bot to generate random “dates” for a game of “Would you Rather” and it seems easiest to do this through a file of date features rather than hard coding a list of 100 features into a single command.

Hey @lanternnoir!

Use Pastebin for that. What you want to do is simple, so a quick look in the forum should be enough to understand how to set it up yourself, there are hundreds of examples.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.