upd gamedig

This commit is contained in:
Smith
2023-02-20 19:03:21 +01:00
parent 3b7c64441e
commit ea247b7ebd
5 changed files with 5 additions and 8 deletions

View File

@@ -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)

View File

@@ -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

View File

@@ -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';

View File

@@ -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';

View File

@@ -1,9 +1,6 @@
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"node8-gamedig": ["node_modules/@types/gamedig"]
},
"rootDir": "./src",
"outDir": "./dist",
"lib": [