From 6997faa2381407a20b222a5369bc93b1ab4aef0e Mon Sep 17 00:00:00 2001 From: Benjamin Hoffmeyer Date: Mon, 10 Jul 2017 16:29:35 -0400 Subject: [PATCH] Whoops (#54) * Update dependencies * Update eslint config Seems that some of the stuff I've set has been borked for awhile, tis' what I get for not reading about it properly. Anyways its fixed now. * Make bugsnag more useful & easier to use It's amazing what a bit of configuration can do. * Actually fix eslint We all make mistakes, maybe next time it wouldn't be me. * Fix the indenting * Fix access_checker (#44) * Fix eslint conf formatting * add feature to use previously used link (with "-") (#48) * add feature to use previously used link (with "-") * fix * !info command (#32) * !info command So I made a !info command which takes either Username#Discrim, a mention or even a discord ID and gives you info on that user on UV. It even lets you get their UV profile by Discord User ID if they arent on the server. Even better it shouldn't have syntax errors because I used Visual Studio now Even better I might add it showing stuff like the latest Upvote and Suggestion EEEEEven better you get to test it because I can't :^) * Format since @LW001 can't * Color thing changed Lol mobile code editing * Made the if larger More mobile editing please * ESLint Fix some things It was a christmas tree, still is a bit. * Fixed the method that's not a method to be no method https://youtu.be/nX7CeTXoxyU * Fix the foreach * Parts rewritten, added last upvoted and submitted * done teaman next * Bump for travis * shut travis up * Complete rewrite of !info Whew laddy. Works on staging now. * Revert "Merge branch 'develop' into patch-3" This reverts commit 246bc0f733c9ad310963c61788efd8189b597deb. * Style fix * nice typo @LW001 * Update package.json * Analytics database handler * Final commit for analytics collection * heheh * Don't allow submitting the same card 2 times * Make the data for info more readable. I actually tested to ensure it would convert and output correctly. * Change last submmited suggestion to last touched Need to reflect what it actually it is. * Experimental: Calculate consecutive days * Cache depends on travis * Properly count consecutive days * !info username#discrim fix (#52) * Stats command This only returns your own stats, an admin version to return the stats of someone else is coming later. * lookup command This is for admins to lookup someone elses stats * Version bump * Log error body instead * Make date even more proper using moment got to make everything pretty, * Stop using the debug date --- Commands/Commands/uservoice.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Commands/Commands/uservoice.js b/Commands/Commands/uservoice.js index a096013..b9c180a 100644 --- a/Commands/Commands/uservoice.js +++ b/Commands/Commands/uservoice.js @@ -292,7 +292,7 @@ commands.info = { } ], footer: { - text: 'User created on ' + moment('2015-11-18T23:52:49.000Z').format("dddd, MMMM Do YYYY, k:mm:ss"), + text: 'User created on ' + moment(data.user.created_at).format("dddd, MMMM Do YYYY, k:mm:ss"), icon_url: data.user.avatar_url } })