-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchangelog.txt
166 lines (139 loc) · 7.55 KB
/
changelog.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
==== Nomic Bot Changelog ====
== Season 2 ==
2.0 - Nomic Bot was created part of the way through Season 2, using the Java Discord API.
2.x - [Changes to Nomic Bot were not recorded during Season 2]
2.2 - The final version of Nomic Bot was created for the end of Season 2.
== Season 3 ==
3.0.0
[2022-4-7 - 2022-5-21]
Nomic Bot was re-written using Discord.js for Season 3.
The bot now responds to both slash and text commands, using the same functionality behind the scenes for more easily maintainable code.
The bot will automatically update the link(s) to the website whenever it reconnects to the internet.
Commands can use plaintext or a MessageEmbed.
The roll command now allows for XdY syntax.
Nomic Bot automatically recognises when a proposition is made and saves it to the site.
When the votes on a proposition change, the stored proposition data is automatically updated.
"git" command can be used to sync the local copy of the website to GitHub.
Season 3 began on the 21st of May, 14:00 AEST
3.0.1
[2022-5-21 - 2022-5-22]
Nomic Bot will now only announce a majority once (added a "majority" attribute to each entry in propositions.json).
Cleaned up the code a bit, and added some more descriptive comments.
3.1.0
[2022-5-22 - 2022-5-22]
Added leftvote & rightvote support.
getVoteStatus() now properly returns an array of players yet to vote.
Nomic Bot will automatically mention the "Proposition Ping" role whenever a proposition is created.
3.1.1
[2022-5-22 - 2022-5-22]
Fixed a bug causing propositions to be stored incorrectly.
3.1.2
[2022-5-23 - 2022-5-23]
Fixed a bug causing the wrong alert message to be sent when a proposition reached leftvote majority.
3.1.3
[2022-5-24 - 2022-5-25]
Fixed some issues with the new majority-detection logic.
3.1.4
[2022-5-25 - 2022-5-25]
Added a command to get the information about a Discord message.
Nomic Bot now links to proposition messages when announcing a new proposition or a majority.
Git push command now accepts a commit message.
3.1.5
[2022-5-26 - 2022-5-26]
Quotes in commit messages are now automatically escaped.
3.2.0
[2022-5-28 - 2022-5-29]
Nomic Bot now supports players exiting the game, and will track votes accordingly.
Propositions now store arrays of players who have voted rather than amounts of votes.
Added a utility function to get a list of attributes given a list of objects.
The votes command now updates the stored proposition data if necessary.
The players command now shows inactive players.
Stored propositions are now used more throughout the code.
Added support for inactive players.
If a proposition is older than 72 hours, it will be reported as having reached majority.
The "majority" state of a stored proposition can now be updated even if the votes do not change.
The votes command now has an option to list the players yet to vote.
Added "authentication" to the git command(s) - only the maintainer of the NAS may use them.
The votes command now properly handles an invalid message ID.
3.2.1
[2022-5-31 - 2022-6-6]
Removed turns from anywhere they were previously used.
Added a command to generate random stats for a new mouse.
Votes are no longer updated after a proposition has reached a majority.
Inactive rightvotes are now only considered after a proposition has been active for 12 hours or more.
3.2.2
[2022-6-6 - 2022-6-15]
Added basic support for Judge suggestions (clarifications).
Added a command to manually add a new proposition to storage in case the bot failed to do so (or was not running when the proposition was created).
Added basic support for multi-message propositions.
Bot automatically reacts to propositions that have reached a majority with a checkmark emote.
3.3.0
[2022-6-30 - 2022-7-16]
Added a command to get the content of a message in a code block.
Added basic proposition parsing functionality (though no command exists to use it yet).
Replaced RNG in all existing commands to an unpredictable version, fixing possible RNG manipulation.
Bot now automatically sets players as inactive.
Proposition content is updated automatically (only if the proposition is a single message).
The roll command now returns the sum of all dice rolls.
3.3.1
[2022-7-16 - 2022-8-7]
Minor change to voting logic: ties have been removed, and are now automatically recognised as leftvote or downvote majority.
Updated inactive player logic to accommodate a rule tweak.
I searched for a strange bug which caused one of the players to become inactive when they shouldn't have, though I was unable to find the cause or reproduce it.
3.3.2
[2022-10-9]
Fixed a rare bug which caused the bot to get stuck in a boot-loop if the NAS-Logs threads is archived.
3.3.3
[2022-11-28]
Ended Season 3.
== Season 4 ==
4.0.0
[2023-1-8 - 2023-1-17]
Prepared Nomic Bot for Season 4.
Removed left votes.
Changed command argument processing to better suit slash commands, and modified all (applicable) commands for the new argument format.
Added an extra timestamp to propositions.
Tweaked inactivity.
4.1.0
[2023-1-18 - 2023-1-25]
Nomic Bot now automatically checks the votes on a proposition 12 and 72 hours after proposal (configurable).
Upgraded the "votes" command.
If not given an ID for a specific proposition it will return the status of all active propositions.
Now shows how long left the proposition has before timing out.
If invoked by a slash command, it will properly defer the response to prevent the command from timing out.
Fixed a minor bug which caused inactive players who rightvoted to be temporarily made "active" when they shouldn't be.
Made some minor improvements to getVoteStatus().
A typing indicator is now sent before responding to commands.
Propositions are no longer updated when Nomic Bot adds/removes a reaction, reducing rate limiting.
Multi-message propositions have been disabled for the beginning of this season.
Reactions are now automatically removed from earlier messages in multi-message propositions.
Judge suggestions no longer have a rightvote option added to the message, and getVoteStatus() now properly deals with them.
4.1.1
[2023-1-26]
Fixed a bug causing propositions not to be properly checked after 12 hours.
4.1.2
[2023-2-6]
Added the ability to generate X number or random numbers with the "rand" command.
4.2.0
[2023-2-9 - 2023-2-10]
Player activity has been disabled, and all players are now active.
Added symbols to the "players" command to show which roles a player is a candidate of.
Updated the internal identifyPlayer() utility function.
Added an internal getUser() utility funciton.
Added the "playerinfo" command to show information about a specific player.
Added the "addcandidate" command to add or remove a player as a Judge or Plague Doctor candidate.
Added a link to the relevant message in the output of the "votes" command.
Failed propositions are no longer marked with a checkmark, but instead a red X.
Updated the output of the "help" command.
Fixed a minor bug in the output of the "votes" command concerning displaying majority.
4.2.1
[2023-2-12]
Added a command to change a player's humors.
Fixed the text output of the "choosedoctor" command.
Made the "rand" command grammatically correct.
4.3.0
[2023-6-14 - 2023-7-4]
Added early "vault" functionality (for storing secrets).
Vault contents are encoded in Base64, so that players cannot accidentally read it.
Nomic Bot direct-messages the player if they attempt to use the vault command outside of a DM.
Began adding Plague Doctor functionality to Nomic Bot.