#I create a warn system
1 messages · Page 1 of 1 (latest)
yeah
with user_id
Yes
Looks like your system is not storing all the data properly
i store the userid, but if member left guild,
the search members in guild not works xD
If you want to print out additional data about a user after he left the guild, you have mainly 2 options: collect the additional data during warning (which I recommend), or fetch the data using the user id when print is needed (which can involve problems, as example: if user deletes his account)
Yes but if the user change his name, system is broken too ?
In which situation? Using which method of those 2?
the first method ?
If the user changes his name, and you do not update warning data over time, the name <which the user was using at the time he was banned> will be printed
How to update warning data ?
that's why I used the id
Do you wanna update only for users which are in the guild? Or everyone on the list?
its perfect if its everyone on the list, but if i can't,
it will be in the guild
Is really hard to fetch data for users outside of the guild, especially if you have like 200 of them warned. You're better off using the second method. It will always show up-to-date results without intermediary updates
okay It's what I'm going to do