Merge pull request #42 from 67P/chore/mediawiki_small_threshold
Change threshold for small wiki contributions
This commit was merged in pull request #42.
此提交包含在:
@@ -129,8 +129,7 @@ module.exports = async function(robot, kredits) {
|
||||
function calculateAmountForChanges(details) {
|
||||
let amount;
|
||||
|
||||
if (details.charsAdded < 280) {
|
||||
// less than a tweet
|
||||
if (details.charsAdded < 500) {
|
||||
amount = 500;
|
||||
} else if (details.charsAdded < 2000) {
|
||||
amount = 1500;
|
||||
|
||||
新增問題並參考
封鎖使用者