Naziv rada: Server Info bot (DiscordJS)
Slike: https://i.imgur.com/XNpOp9C.png
Opis: Podeseno je da svaki sat vremena posalje u kanal poruku, a imate i jednu komandu (prefix+samp).Prefix podesavate na vrhu nije nista komplikovano. DiscordBot Token uzimate ovde (https://discordapp.com/developers/applications)
Download: https://github.com/Momenzi/ServerInfo-BOT
*Nije nista posebno moze vam posluziti*
nije tesko za napravit, ali korisno
Citat: Fqris poslato April 06, 2020, 23:10:25 POSLE PODNE
nije tesko za napravit, ali korisno
Rekao sam nista posebno, a moze biti korisno.
Ummm poznato mi nesto ovo hahaah, superickaa
Citat: Ino42O poslato April 06, 2020, 23:45:41 POSLE PODNE
Ummm poznato mi nesto ovo hahaah, superickaa
Da sam gaser rekao bi "RESI" aahahahahha
Citat: M Ө M Σ N Z I poslato April 06, 2020, 23:54:04 POSLE PODNE
Ako tebi TOLIKO smeta evo ja cu opet napisat.
nista posebno :)
nemoj ga mirza dirat :)) HAHAHAHAHA
dobar si ae
Korisno :)
Ovo si bio napravio dok je postojo ULTIMATE.
jako mi se svidja ovo ali iz nekog razloga mi ne radi ah nisam nikad ni radio oko ovog pa ako moze pomoc
Otvorio sam u Visual Studio Code - pojio index.js taj i -> https://prnt.sc/113jwcg
[pawn]Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:\Users\saiya\Desktop\DiscordJS> node index.js
(node:11856) UnhandledPromiseRejectionWarning: TypeError: bot.guilds.forEach is not a function
at Client.<anonymous> (C:\Users\saiya\Desktop\DiscordJS\index.js:15:16)
at Client.emit (events.js:315:20)
at WebSocketManager.triggerClientReady (C:\Users\saiya\Desktop\DiscordJS\node_modules\discord.js\src\client\websocket\WebSocketManager.js:431:17)
at WebSocketManager.checkShardsReady (C:\Users\saiya\Desktop\DiscordJS\node_modules\discord.js\src\client\websocket\WebSocketManager.js:415:10)
at WebSocketShard.<anonymous> (C:\Users\saiya\Desktop\DiscordJS\node_modules\discord.js\src\client\websocket\WebSocketManager.js:197:14)
at WebSocketShard.emit (events.js:315:20)
at WebSocketShard.checkReady (C:\Users\saiya\Desktop\DiscordJS\node_modules\discord.js\src\client\websocket\WebSocketShard.js:475:12)
at WebSocketShard.onPacket (C:\Users\saiya\Desktop\DiscordJS\node_modules\discord.js\src\client\websocket\WebSocketShard.js:447:16)
at WebSocketShard.onMessage (C:\Users\saiya\Desktop\DiscordJS\node_modules\discord.js\src\client\websocket\WebSocketShard.js:301:10)
at WebSocket.onMessage (C:\Users\saiya\Desktop\DiscordJS\node_modules\ws\lib\event-target.js:132:16)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:11856) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:11856) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
TypeError: Discord.RichEmbed is not a constructor
at Object.<anonymous> (C:\Users\saiya\Desktop\DiscordJS\index.js:57:29)
at Object.<anonymous> (C:\Users\saiya\Desktop\DiscordJS\node_modules\samp-query\samp-query.js:50:37)
at Socket.<anonymous> (C:\Users\saiya\Desktop\DiscordJS\node_modules\samp-query\samp-query.js:193:37)
at Socket.emit (events.js:315:20)
at UDP.onMessage [as onmessage] (dgram.js:919:8)[/pawn]
Citat: Saiyan poslato April 04, 2021, 02:31:05 PRE PODNE
Ovo si bio napravio dok je postojo ULTIMATE.
jako mi se svidja ovo ali iz nekog razloga mi ne radi ah nisam nikad ni radio oko ovog pa ako moze pomoc
Otvorio sam u Visual Studio Code - pojio index.js taj i -> https://prnt.sc/113jwcg
npm i
node index.js
https://github.com/Momenzi/ServerInfo-BOT