mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-04-28 10:09:54 +03:00
/userinfo: Show if the user was kicked (#242)
Closes #241 Updates: - Show if the user was kicked by [adding "Kicked" parameter to MemberData](https://github.com/LabsDevelopment/Octobot/issues/241) - Change `mctaylors-ru`'s `UserInfoBannedPermanently` string to be different from `UserInfoBanned` - Finally add `AppendPunishmentsInformation` method to avoid Cognitive Complexity - Use MemberData to check if the user was banned - Rename variable `isMuted` to `wasMuted` to be consistent with other variable names --------- Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
parent
7d9a85d815
commit
285763d50d
9 changed files with 58 additions and 24 deletions
|
@ -585,4 +585,7 @@
|
|||
<data name="ButtonReportIssue" xml:space="preserve">
|
||||
<value>Report an issue</value>
|
||||
</data>
|
||||
<data name="UserInfoKicked" xml:space="preserve">
|
||||
<value>Kicked</value>
|
||||
</data>
|
||||
</root>
|
||||
|
|
|
@ -585,4 +585,7 @@
|
|||
<data name="ButtonReportIssue" xml:space="preserve">
|
||||
<value>Сообщить о проблеме</value>
|
||||
</data>
|
||||
<data name="UserInfoKicked" xml:space="preserve">
|
||||
<value>Выгнан</value>
|
||||
</data>
|
||||
</root>
|
||||
|
|
|
@ -502,7 +502,7 @@
|
|||
<value>приколы полученные по заслугам</value>
|
||||
</data>
|
||||
<data name="UserInfoBannedPermanently" xml:space="preserve">
|
||||
<value>забанен</value>
|
||||
<value>пермабан</value>
|
||||
</data>
|
||||
<data name="UserInfoNotOnGuild" xml:space="preserve">
|
||||
<value>вышел из сервера</value>
|
||||
|
@ -585,4 +585,7 @@
|
|||
<data name="ButtonReportIssue" xml:space="preserve">
|
||||
<value>зарепортить баг</value>
|
||||
</data>
|
||||
<data name="UserInfoKicked" xml:space="preserve">
|
||||
<value>кикнут</value>
|
||||
</data>
|
||||
</root>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue