StampyAI / stampy

A Discord bot for the Robert Miles AI server
37 stars 9 forks source link

Serve the Stamps csv file via flask so the wiki can read it #186

Closed plexish closed 1 year ago

plexish commented 1 year ago

TODO: Ask plex/rob in the meantime

robertskmiles commented 1 year ago

Currently the code writes the file to /var/www/html/stamps-export.csv, which used to be served by apache when the wiki and bot were on the same server. Probably that should be changed to ~/stampy.local/stamps-export.csv and the flask api should read out the file. Or we could just keep the csv string in memory.

plexish commented 1 year ago

Needs rethinking with respect to coda.