Read the statement by Michael Teeuw here.
Compliments config
-
@mykle1 Found my problem. Thanks for the help. Read your “absolute-beginners” topics. Huge help!
-
Ahhh cool. :thumbsup:
-
I went out and found https://gist.github.com/ryck/e28a69665b8839f6e9a7acd6b4acc97d (which is awesome)
I modified and removed what I didn’t want, but I left the weather stuff in even though I haven’t configured the default weather module.
I then created https://github.com/motdog/compliments/blob/master/compliments.json
I went into compliments.js and at remote file removed null and added that link followed by a comma.
It didn’t run when I restarted my mirror. Do I need to change anything on main config.
Module.register("compliments", { // Module config defaults. defaults: { compliments: { anytime: [ "Hey there sexy!" ], morning: [ "Good morning, handsome!", "Enjoy your day!", "How was your sleep?" ], afternoon: [ "Hello, beauty!", "You look sexy!", "Looking good today!" ], evening: [ "Wow, you look hot!", "You look nice!", "Hi, sexy!" ] }, updateInterval: 30000, remoteFile: https://github.com/motdog/compliments/blob/master/compliments.json, fadeSpeed: 4000, morningStartTime: 3, morningEndTime: 12, afternoonStartTime: 12, afternoonEndTime: 17 },
Thanks for the help
-
@motdog that is not config, that looks like the source for compliments.js, and only a little bit of the source
-
@sdetweil ok I am so confused. I took an existing list of compliments and saved/edited it. I then saved it as a .json file (or so I thought) . I went to the default modules folder and changed remote folder from null to that web address.
I thought that was the way to go about it. Never created anything in github before. so Im grasping at straws