flybywiresim / discord-bot-utils Goto Github PK
View Code? Open in Web Editor NEWUtilities Discord Bot created for the FlyByWire Discord server.
Home Page: https://flybywiresim.com/
License: GNU Affero General Public License v3.0
Utilities Discord Bot created for the FlyByWire Discord server.
Home Page: https://flybywiresim.com/
License: GNU Affero General Public License v3.0
Utility or complex functionality
A voting system. Features to be discussed.
No response
No response
benw8484
Utility or complex functionality issue
Double plus needs fixing. A check needs to be added to strip an extra plus. The command defaults to +
with the offset, and it's adding a second if the user specifies +
when setting an offset
There should only be one +
shown regardless of the user inputting 1
or +1
(or any number) in the offset
Run the zulu
command with an offset of +1
(or any number)
No response
benw8484
Utility or complex functionality
Similar to the PR command, but for github issues instead
No response
No response
straks
Utility or complex functionality issue
When a message is longer than 1024 characters and is edited or deleted, the bot will crash due to the 1024 character limitation per field.
It should be changed to limit the fields of old message, edited message and deleted message to 1000 characters and then link the message instead.
For deleted messages, maybe another embed could be sent to show the whole message.
Edit or delete a message longer than 1024 characters
No response
No response
benw8484
Utility or complex functionality issue
Just need to change the logging in the scamLogs handler to make it clearer that it is from scam logs
Logger.info('Starting Infraction process');
const newInfraction = {
infractionType: 'ScamLog',
moderatorID: msg.client.user.id,
reason: `Message content: ${msg.content.toString()}`,
date: new Date(),
infractionID: new mongoose.Types.ObjectId(),
};
let userData = await Infraction.findOne({ UserID: msg.author.id });
log(userData);
For example, just prefix with scamLogs
(Other commands may benefit from this, I just saw this when flicking through logs)
Prefix the logs
Run the command and check logs
No response
No response
benw8484
Wrong data or information
Content needs to be changed to reflect the correct use of the channel.
Content should read:
We've opened our #flight-school channel for any questions you have pertaining to the operation of the A32NX.
Run the /welcome
command
No response
benw8484
Wrong data or information
When a long message of over 1024 characters contains @everyone
and gets caught by scam logs, it will restart the bot because of an exception with core content:
embeds[0].fields[2].value[BASE_TYPE_MAX_LENGTH]: Must be 1024 or fewer in length.
More details:
https://logs.betterstack.com/team/205992/tail?q=&s=662625&a=1707528913978168.126000002
Bot does not restart on large messages being captured as part of scam logging
@everyone
in it.Similar issue as #19
No response
straks
Moderation feature
A utility available to moderators which lists all members of a role.
Consider that a role can have 100s of members, so pagination will be a must
No response
No response
straks
Utility or complex functionality
The command table generation could be separated into a function in lib.
This function can then be called in the /commandTable
command as well as a scheduler job. This will make sure that the command table is up to date. Only needs to be ran once a day.
No response
No response
benw8484
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.