mirror of
https://github.com/a-sync/game-server-watcher.git
synced 2026-07-22 05:41:43 -04:00
upd gamedig
This commit is contained in:
@@ -165,10 +165,10 @@ node ./dist/server.js
|
||||
* Join the support / test [discord](https://discord.gg/4tsbftsGJz)
|
||||
|
||||
# Further Reading
|
||||
* [gamedig supported games list](https://raw.githubusercontent.com/a-sync/node8-gamedig/master/games.txt)
|
||||
* [gamedig supported games list](https://raw.githubusercontent.com/gamedig/node-gamedig/master/games.txt)
|
||||
* [steamDB](https://steamdb.info/apps/)
|
||||
* [steam web API documentation](https://steamapi.xpaw.me/#IGameServersService/GetServerList)
|
||||
* [discord API v8 documentation](https://discord.js.org/#/docs/discord.js/v12/class/MessageEmbed)
|
||||
* [discord API v10 documentation](https://discord.js.org/#/docs/discord.js/14.7.1/class/EmbedBuilder)
|
||||
* [telegram API documentation](https://core.telegram.org/bots/api#editmessagetext)
|
||||
* [json-editor documentation](https://github.com/json-editor/json-editor#json-schema-support)
|
||||
* [json-editor demos](https://pmk65.github.io/jedemov2/dist/demo.html)
|
||||
|
||||
@@ -79,7 +79,7 @@ $(async () => {
|
||||
},
|
||||
"type": {
|
||||
"title": "Gamedig type",
|
||||
"description": "Look for the <i>GameDig Type ID</i> in the <a href=\"https://github.com/a-sync/node8-gamedig#games-list\">games list</a>.",
|
||||
"description": "Look for the <i>GameDig Type ID</i> in the <a href=\"https://github.com/gamedig/node-gamedig#games-list\">games list</a>.",
|
||||
"type": "string",
|
||||
"options": {
|
||||
"grid_columns": 6
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import axios from 'axios';
|
||||
import { Player, query, QueryResult } from 'node8-gamedig';
|
||||
import { Player, query, QueryResult } from 'gamedig';
|
||||
import { Low, JSONFile } from '@commonify/lowdb';
|
||||
import ipRegex from './lib/ipregex';
|
||||
import getIP from './lib/getip';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Type } from 'node8-gamedig';
|
||||
import { Type } from 'gamedig';
|
||||
import { Low, JSONFile } from '@commonify/lowdb';
|
||||
import { GameServer, initDb, saveDb } from './game-server';
|
||||
import * as discordBot from './discord-bot';
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"node8-gamedig": ["node_modules/@types/gamedig"]
|
||||
},
|
||||
"rootDir": "./src",
|
||||
"outDir": "./dist",
|
||||
"lib": [
|
||||
|
||||
Reference in New Issue
Block a user