|
@@ -101,7 +101,7 @@ function cmd_rcscript(lang, msg, args, line, wiki) {
|
|
|
if ( reaction ) reaction.removeEmoji();
|
|
|
return msg.replyMsg( ( block.reason ? lang.get('rcscript.blocked_reason', block.reason) : lang.get('rcscript.blocked') ), {}, true );
|
|
|
}
|
|
|
- if ( wikinew.isFandom(false) ) return got.get( wikinew + 'wikia.php?controller=DiscussionPost&method=getPosts&limit=1&format=json&cache=' + Date.now(), {
|
|
|
+ if ( wikinew.isFandom(false) ) return got.get( wikinew + 'wikia.php?controller=DiscussionPost&method=getPosts&includeCounters=false&limit=1&format=json&cache=' + Date.now(), {
|
|
|
headers: {
|
|
|
Accept: 'application/hal+json'
|
|
|
}
|
|
@@ -259,7 +259,7 @@ function cmd_rcscript(lang, msg, args, line, wiki) {
|
|
|
if ( reaction ) reaction.removeEmoji();
|
|
|
return msg.replyMsg( ( block.reason ? lang.get('rcscript.blocked_reason', block.reason) : lang.get('rcscript.blocked') ), {}, true );
|
|
|
}
|
|
|
- if ( wikinew.isFandom(false) ) return got.get( wikinew + 'wikia.php?controller=DiscussionPost&method=getPosts&limit=1&format=json&cache=' + Date.now(), {
|
|
|
+ if ( wikinew.isFandom(false) ) return got.get( wikinew + 'wikia.php?controller=DiscussionPost&method=getPosts&includeCounters=false&limit=1&format=json&cache=' + Date.now(), {
|
|
|
headers: {
|
|
|
Accept: 'application/hal+json'
|
|
|
}
|
|
@@ -401,7 +401,7 @@ function cmd_rcscript(lang, msg, args, line, wiki) {
|
|
|
} );
|
|
|
}
|
|
|
|
|
|
- return msg.reactEmoji('⏳', true).then( reaction => got.get( selected_row.wiki + 'wikia.php?controller=DiscussionPost&method=getPosts&limit=1&format=json&cache=' + Date.now(), {
|
|
|
+ return msg.reactEmoji('⏳', true).then( reaction => got.get( selected_row.wiki + 'wikia.php?controller=DiscussionPost&method=getPosts&includeCounters=false&limit=1&format=json&cache=' + Date.now(), {
|
|
|
headers: {
|
|
|
Accept: 'application/hal+json'
|
|
|
}
|