Comments (8)
That means you hit a rate limit with discord. were you pushing a LOT of logs really quickly? discord isn't great to use for logging EVERYTHING really just important things like large monetary transactions, specific items, actions and such
from zdiscord.
I’ve been using your bot and jd_logs. I’ve had some problems setting up my fiveM server but all I’ve been doing is using the commands for both bots.
yours for whitelisting and server admin testing and the other is a bot for logs such as shooting, damage, logging in and out
from zdiscord.
So by shooting do you mean a log is sent every time a bullet is fired? so if there's a shootout or use of a machinegun or something it's sending 10-20 logs per second? cause logs like that can have your ip banned from the discord api for abuse. actions like that you'd want to save to memory temporarily for 30 seconds to a minute and dump all the logs you need in a single log.
from zdiscord.
Sorry I should of been clearer. From the testing I have done and that is with two bots; zdiscord and JD_Logsv3 running at the same time. Since moving to zaphosting the two bots seem to reach rate limit and zdiscord gives out the error about that.
After about two outs the bots will reconnect and work but only at 994/1000 limit. When that is reached they disconnect again.
Since last night I have stopped using the latter bot and only have yours running and I've seen a better stability. However; now there is a Event Code: 4000 now happening.
This is now causing the bot to reconnect and it repeats doing this. I don't know if that's normal for zdiscors to be doing but so far I haven't reached a rate limit.
JD_ logs was the bot that was sending events to certain channels and I feel if I had a busy server that would be spamming a lot ( regardless it's now offline and no longer used ).
Zap hosting typically replied just now to my ticket only seeing the Event Code: 4000 and has totally disregarded the rate limit. I'm about to inform them that it was happening beforehand.
from zdiscord.
4000 is an unknown error if it's coming from discord's api o.o really weird you'd get that unless something is wrong on zap? Also could try to reset your token and see if that makes any difference
from zdiscord.
No problem I'll
Give that a try and get back to you. Zap are surely going to say it's not them lol.
The funny thing is I have a rocket node server that I moved from and I've got it on there working no problem, same key.
I feel it's zap, they have been getting ddosed lately
from zdiscord.
Also to go with the error 4000 it keeps sending heartbeat if that's anything
from zdiscord.
That's normal. The heartbeat is how the script keeps in touch with the bot api and keeps it active, as long as heartbeats keeps pinging every 20 seconds discord keeps the session active. when heartbeats stop it assumes the bot is offline and stops sending events.
from zdiscord.
Related Issues (20)
- Creating a Whitelisted command for fivem to use in discord. HOT 1
- how do you log things? HOT 2
- question and maybe bug? HOT 6
- Error using Screenshot HOT 5
- Item logs
- zDiscord commands for ESX HOT 6
- [BUG] Vehicle not storing correctly HOT 1
- webhook HOT 4
- [BUG] Bot not stopping anyone? HOT 6
- [BUG/HELP] DiscordGuildid issue and i set my discord id correctly in config.js but its not working
- [BUG] HOT 2
- Whitelisting not working well HOT 1
- Export Other Player ID File HOT 3
- Discord Commands HOT 2
- [Feature]
- screenshoot not working [BUG]
- Player name showing "invalid" is on road name HOT 1
- Get Discord Profile Picture HOT 3
- [Every commands fail after first] HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zdiscord.