Dezaku

Results comments of Dezaku

Hi, I wrote this code: ```let statement = db.prepare(`SELECT COUNT(*) FROM main WHERE userId = ?`); let row = statement.get(user.id); console.log(row);``` which returns `{ 'COUNT(*)': 1 }` when there is...

> @Dezaku I would change it to this: > > ```js > function userExists(userId) { > const statement = db.prepare(`SELECT 1 FROM main WHERE userId = ?`); > const row...

> That was the long version that makes it clear what's happening. You could shorten it to this: > > ```js > function userExists(userId) { > return db.prepare('SELECT 1 FROM...

> I wrote PR [290](https://github.com/elebumm/RedditVideoMakerBot/pull/290), it has fixed this issue and has been merged into the master branch. Thank you!

not working on windows too

I get the same error, I wanna push to a private rep of a organization that my account is in. Anyone had this before?

Found any solution? Im on XFCE too and the wallpapers just open as a window