birdflop / botflop Goto Github PK
View Code? Open in Web Editor NEWDiscord Bot for server hosts, devs, and admins. Analyzes timings reports & uploads text files to a bin. Developed by https://birdflop.com.
License: MIT License
Discord Bot for server hosts, devs, and admins. Analyzes timings reports & uploads text files to a bin. Developed by https://birdflop.com.
License: MIT License
Add Disabled Observer Clock in Optimization
observer:
disable-clock: false
Need to find a way to prevent user data from being tracked for discord, so if someone runs /optout or something it should add them to a list of names that botflop will ignore. Ideally reversible
Now, spark (the performance profiling plugin) also shows config options in its report. It would be cool to also add spark support to Botflop.
Don't give Xms != Xmx warning if startup flags have the following:
-XX:+UseContainerSupport -XX:InitialRAMPercentage=[value] -XX:MaxRAMPercentage=[value]
where [value] is the same as [value]
Its not an error but I can't find any statement for this guild channels.
Issue with the /timings command on the latest master build. Forked it, configured it, and tried running the command but just ended up with an error instead.
All npm packages were installed, tried installing node-fetch thinking it was the issue but it doesn't seem like it.
[01:06:32 error]: ReferenceError: fetch is not defined
at analyzeTimings (C:\Users\-\PC\Desktop\botflop-master\functions\analyzeTimings.js:46:23)
at Object.execute (C:\Users\-\PC\Desktop\botflop-master\commands\timings.js:16:32)
at module.exports (C:\Users\-\PC\Desktop\botflop-master\events\interactionCreate.js:22:11)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
[20:41:43 �[31merror�[39m]: unhandledRejection: Cannot read property 'split' of null
TypeError: Cannot read property 'split' of null
at module.exports (/home/container/events/messageCreate.js:28:60)
at Client.emit (node:events:394:28)
at MessageCreateAction.handle (/home/container/node_modules/discord.js/src/client/actions/MessageCreate.js:26:14)
at Object.module.exports [as MESSAGE_CREATE] (/home/container/node_modules/discord.js/src/client/websocket/handlers/MESSAGE_CREATE.js:4:32)
at WebSocketManager.handlePacket (/home/container/node_modules/discord.js/src/client/websocket/WebSocketManager.js:346:31)
at WebSocketShard.onPacket (/home/container/node_modules/discord.js/src/client/websocket/WebSocketShard.js:478:22)
at WebSocketShard.onMessage (/home/container/node_modules/discord.js/src/client/websocket/WebSocketShard.js:317:10)
at WebSocket.onMessage (/home/container/node_modules/ws/lib/event-target.js:199:18)
at WebSocket.emit (node:events:394:28)
at Receiver.receiverOnMessage (/home/container/node_modules/ws/lib/websocket.js:1169:20)
Check wake-up-inactive.<mob>-max-per-tick before suggesting to decrease wake-up-inactive.<mob>-for
Config Example:
wake-up-inactive:
animals-max-per-tick: 0
animals-every: 1200
animals-for: 100
monsters-max-per-tick: 0
monsters-every: 400
monsters-for: 100
villagers-max-per-tick: 0
villagers-every: 600
villagers-for: 100
flying-monsters-max-per-tick: 0
flying-monsters-every: 200
flying-monsters-for: 100
[07:42:50 error]: unhandledRejection: TIMINGS_CHECK.servers.forEach is not a function
TypeError: TIMINGS_CHECK.servers.forEach is not a function
at analyzeTimings (/Users/primary/Documents/GitHub/botflop/functions/analyzeTimings.js:108:25)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async module.exports (/Users/primary/Documents/GitHub/botflop/events/messageCreate.js:98:25)
Currently, the pages buttons can be used by everyone, which makes it very annoying. Other people can switch pages when I'm trying to read my optimizations.
Maybe it's a good idea to add a check if the clicker (interaction user) also placed the timings url.
Executing /ping and then pressing the Ping Again button on the embedded messages crashes the whole bot. It just outputs an "Unknown Message" error into the console and just crashes the bot.
[01:14:28 error]: unhandledRejection: Unknown Message
DiscordAPIError[10008]: Unknown Message
at SequentialHandler.runRequest (C:\Users\-\PC\Desktop\botflop-master\node_modules\@discordjs\rest\dist\lib\handlers\SequentialHandler.cjs:287:15)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async SequentialHandler.queueRequest (C:\Users\-\PC\Desktop\botflop-master\node_modules\@discordjs\rest\dist\lib\handlers\SequentialHandler.cjs:99:14)
at async REST.request (C:\Users\-\PC\Desktop\botflop-master\node_modules\@discordjs\rest\dist\lib\REST.cjs:52:22)
at async MessageManager.edit (C:\Users\-\PC\Desktop\botflop-master\node_modules\discord.js\src\managers\MessageManager.js:166:15)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.