[WIP] UT Server Query Discord Bot (NodeJS) 2.4 2021 Release

Discussions about UT99
KrystoF

Re: [WIP] UT Server Query Discord Bot (NodeJS) 2.4 2021 Release

Post by KrystoF »

hello mate
Thanks for your work its nice.

just an question?
can you make it as Certified Discord Bot, it will be better for use please? like we find here https://top.gg/

its a good programme and we are some teams on discord i think .

thanks in advance for your answer.
User avatar
UT Sniper (SJA94)
Inhuman
Posts: 753
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: Retard
Location: England
Contact:

Re: [WIP] UT Server Query Discord Bot (NodeJS) 2.4 2021 Release

Post by UT Sniper (SJA94) »

I don't have the bot hosted on a server, I'm guessing that's required for that site, or have I looked at it wrong? Currently an instance of the bot can only be connected to one discord server at a time.
KrystoF

Re: [WIP] UT Server Query Discord Bot (NodeJS) 2.4 2021 Release

Post by KrystoF »

Ok mate i understand
thanks for your answer
Sammael
Posts: 1
Joined: Sat Apr 09, 2022 2:10 am
Personal rank: Wheel of Time Player

Re: [WIP] UT Server Query Discord Bot (NodeJS) 2.4 2021 Release

Post by Sammael »

Sorry to necro an old thread, but I don't suppose this Discord bot would work with the game Wheel of Time? It's a game from 1999 which is based off of the original Unreal engine. I'd love to have something like this for that!
User avatar
DsL444
Novice
Posts: 3
Joined: Tue Sep 12, 2023 5:21 pm
Location: Germany

Re: [WIP] UT Server Query Discord Bot (NodeJS) 2.4 2021 Release

Post by DsL444 »

Hry there,

Any Updates here?
:sniper1:
=============
Join us on Discord! :tu: https://discord.gg/4TYX8xX7
User avatar
papercoffee
Godlike
Posts: 10451
Joined: Wed Jul 15, 2009 11:36 am
Personal rank: coffee addicted !!!
Location: Cologne, the city with the big cathedral.
Contact:

Re: [WIP] UT Server Query Discord Bot (NodeJS) 2.4 2021 Release

Post by papercoffee »

DsL444 wrote: Mon Dec 18, 2023 8:13 pm Hry there,

Any Updates here?
Please avoid necro-bumping threads which are older than 3 month, thank you.
You can ask UT Sniper (SJA94) directly via PM.
User avatar
UT Sniper (SJA94)
Inhuman
Posts: 753
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: Retard
Location: England
Contact:

Re: [WIP] UT Server Query Discord Bot (NodeJS) 2.4 2021 Release

Post by UT Sniper (SJA94) »

The last update was March 2023 by some of the utctf pug guys who fixed some issues, organized things, and updated to work with discord.js 14. Just download the main repo, I somehow forgot to make a new release when I merged the pull request.
Green Code button on this page:
https://github.com/scottadkin/Unreal-To ... iscord-Bot

To be honest I've lost interest in the project.
User avatar
DsL444
Novice
Posts: 3
Joined: Tue Sep 12, 2023 5:21 pm
Location: Germany

Re: [WIP] UT Server Query Discord Bot (NodeJS) 2.4 2021 Release

Post by DsL444 »

Hey there, really sad to hear that you dont have much fun to get it finish.

But maybe you can help me there.

Code: Select all

root@vmd118307:~/Unreal-Tournament-Server-Query-Discord-Bot-master# node app
node:internal/modules/cjs/loader:1080
  throw err;
  ^

Error: Cannot find module 'promise'
Require stack:
- /root/Unreal-Tournament-Server-Query-Discord-Bot-master/api/ut99query.js
- /root/Unreal-Tournament-Server-Query-Discord-Bot-master/api/bot.js
- /root/Unreal-Tournament-Server-Query-Discord-Bot-master/app.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
    at Module._load (node:internal/modules/cjs/loader:922:27)
    at Module.require (node:internal/modules/cjs/loader:1143:19)
    at require (node:internal/modules/cjs/helpers:121:18)
    at Object.<anonymous> (/root/Unreal-Tournament-Server-Query-Discord-Bot-master/api/ut99query.js:2:17)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Module.require (node:internal/modules/cjs/loader:1143:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/root/Unreal-Tournament-Server-Query-Discord-Bot-master/api/ut99query.js',
    '/root/Unreal-Tournament-Server-Query-Discord-Bot-master/api/bot.js',
    '/root/Unreal-Tournament-Server-Query-Discord-Bot-master/app.js'
  ]
}

Node.js v18.17.1
root@vmd118307:~/Unreal-Tournament-Server-Query-Discord-Bot-master#
:sniper1:
=============
Join us on Discord! :tu: https://discord.gg/4TYX8xX7
User avatar
UT Sniper (SJA94)
Inhuman
Posts: 753
Joined: Thu Jun 24, 2010 10:35 pm
Personal rank: Retard
Location: England
Contact:

Re: [WIP] UT Server Query Discord Bot (NodeJS) 2.4 2021 Release

Post by UT Sniper (SJA94) »

Did you run the command npm install? Promises have been built it for quiet a while now for node.js, if npm install isn't the problem you can remove the promise import at the top of /api/ut99query.js, app.js, /api/bot.js.
Post Reply