Closed sluhtie closed 1 year ago
I also noticed that there is no event-member when firing either the message delete/receive or edit event. In the on guild ban event a event-reason such as event-operator would be useful aswell.
When I'm already at it I may also suggest aother useful event:
Events:
1. on member stop boost:
There are also some missing values in boosting https://ci.dv8tion.net/job/JDA/javadoc/net/dv8tion/jda/api/events/guild/update/GuildUpdateBoostCountEvent.html
look
look
?
First, Are the messages that return none
for the different event-value cached in DiSky? you can see that by enabling the debug mode in the configuration. It'll send a message every time a message is cached with its ID and content
retrieved values can be accessed using the retrieve event value
effect (https://disky.me/wiki/docs/effects/#retrieveeventvalue). The most common available value for any log-related event (aka any event that adds an audit log to the guild's logs) is author
, and it'll be the actual author of the action (the user who banned someone for instance). I hope I was clear!
For any time-related values (such as previous boost count or tier), you'll have to use Skript's temporal system. For instance, you can get the previous boost tier using past event-string
, or past event-integer
for the previous boost count.
I know this is not suitable for comprehension to have such weird name for event values, however, that's how Skript works and I cannot do anything against that.
For the last one, that you also quoted in your last message, I don't think I miss any value, as I can only get the guild, previous and new values. Correct me if I'm wrong tho!
The event you suggested should be added in the next release, aka v4.12.0! Thanks for it :)
Okay, small typo: the suggested event seems to already exists: https://disky.me/wiki/docs/events/#on-member-boost-event
This fire when a member stop or continue it's boosting time. In order to check if it's ended, the new value (aka event-date
I think) should be not set (none).
Hey, yes. I already enabled debugging and the messages get cached indeed. (See Screenshot of Terminal)
Also, shouldn't there be some way to get the member that boosted the server then?!
Ps. Thanks for adding that event :)
Well according to https://ci.dv8tion.net/job/JDA/javadoc/net/dv8tion/jda/api/events/guild/update/GuildUpdateBoostCountEvent.html, I don't think it's possible :/
Mhhh any work around? I mean there must be some way to have a var with the amount a user boosted the server
Not to my knowledge, although you can "cheat" by getting the system message sent when someone boosts maybe?
I know theres a bot that counts the boosts of a user. https://boosterbot.xyz/ I wonder how they did it
I tested the on message receive/delete/edit events and noticed that although the message gets cached correctly following issues occur:
Code I have used:
Responses I have received with testing: