Commit graph

7 commits

Author SHA1 Message Date
CosminPerRam
93a9095d99
Add eslint (#364)
* Add initial prettier and eslint configs

* Modify prettierrc

* Run eslint on everything

* Actually remove prettier

* Fix some eslints

* Remove label in gs2

* Update CHANGELOG

* Update eslintrc to specify es2021
2023-09-19 19:52:35 +03:00
CosminPerRam
ad9adff06c
Move to ES6 module (#357)
* Redo imports and exports for lib

* Redo imports and exports for bim

* Redo imports and exports for games

* Remove remaining module.exports

* Use export default in lib

* Use export default in protocols

* Fix import in genreadme.js

* Make package module and solve __dirname

* Fix minecraft protocol imports

* Fix imports on games and make binary runnable

* Renamed protocol class exports to lowercase

* Export promises class as default

* Update README.md to use imports instead of require

* Update CHANGELOG to mention the changes.

* Remove Valve unused imports

* Fix iconv import
2023-09-14 23:28:31 +03:00
Michael Morrison
fe124a4487 Bring discord protocol up to date with gamedig 3.0 2021-05-18 22:33:36 -05:00
Tom
f337cf6f58
Remove discriminator's from player names
The widget API seems to always set discriminator to 0000
2020-01-04 13:53:36 +00:00
Tom
3a8164cfbc
Set max players to total amount of members in server 2020-01-04 13:44:09 +00:00
Tom
0128e4d972
Remove extra logging
Whoops
2020-01-04 13:43:35 +00:00
Tom
8ad0fbc87b
Add discord protocol 2020-01-04 01:03:02 +00:00