Page 2 of 2

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

Posted: Mon Mar 08, 2021 11:15 am
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.

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

Posted: Mon Mar 08, 2021 7:20 pm
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.

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

Posted: Mon Mar 08, 2021 8:30 pm
by KrystoF
Ok mate i understand
thanks for your answer

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

Posted: Sat Apr 09, 2022 2:16 am
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!

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

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

Any Updates here?

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

Posted: Mon Dec 18, 2023 10:09 pm
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.

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

Posted: Tue Dec 19, 2023 1:20 am
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.

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

Posted: Wed Dec 20, 2023 9:46 pm
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#

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

Posted: Thu Dec 21, 2023 1:37 am
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.