Update@v1.3: Auto Adjusting
This update is important and includes the following contents:
- the most frequent reasons for requiring updates of the bot script has been resolved.
- the information about versions,
NSO_VERSIONandA_VERSION, will be obtained with GitHub REST API instead of writing in the scripts.
- the information about versions,
- the accounts with the same name get to be able to registered in a bot.
- error messages are more clearly printed in Discord and the logs of the bot.
- commands of the bot are improved.
auto adjusting the information about versions
- The information about versions,
NSO_VERSIONandA_VERSION, will be obtained with GitHub REST API instead of writing in the scripts.NSO_VERSION: from splatnet2statink/iksm.pyA_VERSION: from splatnet2statink/splatnet2staink.py- The cool time of fetching the information is six hours.
- This system is for escaping the limit of GitHub REST API,
60 counts/hour. - These version information are only used in registering Nintendo accounts, which is a rare action, so it is maybe over-concerned.
- This system is for escaping the limit of GitHub REST API,
accounts with same name
- The accounts with the same name get to be able to registered in a bot.
- To tell the truth, until now such accounts could not be registered at the same time because the account information were stored by the name.
- If you registered new account with the existing name in the old bot, the information of the older account were overwrited.
- The present key of storing accounts is the name and the timestamp.
error messages
- Unlike before, if an error occuer, the bot says its rough information in Discord and the details are shown in the logs.
commands
- Some of commands are renamed for the consistency, then all commands are composed with
verbandIksm.
| before | after |
|---|---|
?showIksmAcc |
?showIksm |
?checkIksmSession |
?checkIksm |
- In this update, the accoutns with the same name are allowed, so there are some cases where the accounts of the given name are not unique.
- Then you will choose the requesting account with the registtory date.
- Before removing the registory of accounts, the bot gets to confirm the account name.