Conversation started Jul 23, 2014 at 2:24.
Jul 23, 2014 02:24
First, you need to put them somewhere that they won't rot and can be hyperlinked
@LoganM oops, it is your selections. The old ones are usually the same series with some standard picturse.
Google drive is what I used. You could also use Flicker, Minus, Dropbox, or other options
imgur isn't a great choice since the images can expire after 6 months, but if you use the stack.imgur account it would work. Can't automate that though.
Then, get all the images and put the URLs in a pastebin paste with one per line. Then do #wallpaper add pastebin.com/example
Or if you have a small number of URLs you can just put the URLs here directly separated by spaces
@LoganM is there some special agree btween imgur and SE that they won't remove those images
@hwlau Yes, they're permanent.
Jul 23, 2014 02:29
sad that they don't include the chat room
SE also backs them up IIRC so even if the deal with imgur ends it'll still be relatively safe
But I'd assume SE wouldn't like it if you uploaded thousands of images to their imgur account just for this.
Jul 23, 2014 02:46
@hwlau they do with the upload button?
or at least we do have an upload button next to the send one which allows you to use the built in SE imgur
0
Q: Yaoi manga; possibly psychological?

アズーサI am looking for a manga I had briefly read maybe a really long time ago (maybe five months ago) when I wasn't too interested in reading mangas that much. I don't remember too many details but it was definitely a yaoi manga and the only vague detail I remember is that the genre was possibly psych...

Jul 23, 2014 03:10
@LoganM is this link good enough? https://drive.google.com/#folders/0Byjwisr1lGkxTzItQXFXZU1GSGc
I never use google drive to share anything, so I dont know...
that's the only picture I have in my work place right now
Should work so long as you don't move them.
Link type not recognized.
You'd want to do #wallpaper add https://googledrive.com/host/0Byjwisr1lGkxTzItQXFXZU1GSGc/WVQqRh0.png https://googledrive.com/host/0Byjwisr1lGkxTzItQXFXZU1GSGc/AIImr.jpg https://googledrive.com/host/0Byjwisr1lGkxTzItQXFXZU1GSGc/159998_8gmbdnqi45vr67a‌​xc3lpse0tfzjukw12h9yo.jpg
But you can't move the images or rename them or change the folder after doing that
Jul 23, 2014 03:13
one by one? seriously?
So make sure they're where you want them to be first.
You can do all 3 at once
Just copy the code exactly from my post and it should work
well I mean, for every picture?
Yes you have to include the URL for each one
at the moment it isn't set up to parse Google drive folders
could probably be done, but that would require work
Alternatively if you have a lot, use pastebin
dang, how can you do that with that much picture you have
I don't have that
We automated it
If you want to do pastebin, I think it would be something like #wallpaper add http://pastebin.com/X3fUrgz0
That's how we got all of mine in the bot
Jul 23, 2014 03:18
never use pastebin before... lemme try
The one I posted above pastebin.com/X3fUrgz0 should actually work fine
You need to use the hosting links for Google drive images (the ones I posted above), which aren't the ones you see in the drive folder though. The ones Google drive itself uses aren't stable and won't work for the bot.
but you still need to add that link one by one in pastebin
Yes, but they all follow a simple pattern
specifically, all of them have the url https://googledrive.com/host/Directory_Id/filename
Directory ID is the same for all of them which are in the same folder
filename is the same as the filename you upload it with
So all you have to do is a bit of parsing. It's easy to automate that.
Then you just copy all that into a pastebin
a bit of parsing. not sure how to do that...
Jul 23, 2014 03:33
Depends on what you want to use and what format you have the data in, but it's a simple enough thing to be doable in any language which does any kind of file manipulation.
In unix you can just do an ls and pipe the results into a blank file, then prepend each line of the file with the string representing the Google drive for the folder. Basically just follow stackoverflow.com/questions/2099471/…
oh,, I think I understand what you mean,,
@LoganM and if I remove the picture or rename the folder I need to add it again for bot?
@ShinobuOshino Yes, but don't do that once you've added it
If you've added it and you move the folder, the bot now has a bunch of dead links
And it doesn't check to see if they're dead. It'll just post them
So put them where you intend for them to stay forever before adding them to the bot.
Jul 23, 2014 03:49
can't we delete the link from bot?
#wallpaper help
Posts wallpaper links from time to time. Commands: enable, disable, post, add, status, timeinterval, postinterval.
enable − Resume posting wallpaper links.
disable − Stop posting wallpaper links.
post − Post a random image link on request.
add − Add a single image link, multiple image links separated by spaces, or a link to text file with image links separated by line breaks (pastebin raw link accepted).
status − Print module status, posting intervals, counts of posted and queued links.
timeinterval − Returns current value or changes it.
I don't see any way to remove
You can probably get @user1306322 to remove manually, but other than that, no
 
Conversation ended Jul 23, 2014 at 3:50.