Skip to content
This repository has been archived by the owner on Nov 15, 2021. It is now read-only.

Update speedrank to support Odin and 6* magicite #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion commands/misc/speedrank.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module.exports = class ReplyCommand extends Command {
{
key: 'category',
prompt: 'Enter the name of the category you want to look up.' +
' (Can be "5star", "4star", "3star", or "Torment" ' +
' (Can be "6star", "odin", "5star", "4star", "3star", or "Torment" ' +
' on the chart. The default is "4star")',
type: 'string',
default: '4star',
Expand Down
6 changes: 6 additions & 0 deletions utilities/speedrank-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,12 @@ function getSheet(category, secondaryCategory) {
else if (['5','5star','5-star','5 star'].includes(category.toLowerCase())){
category = `GL 5* ${version} rankings`;
}
else if (['6','6star','6-star','6 star'].includes(category.toLowerCase())){
category = `GL 6* ${version}`;
}
else if (['odin','darkodin','dark-odin','dark odin'].includes(category.toLowerCase())){
category = `Odin ${version}`;
}
else if (['torment', 'tor', 'neotorment', 'neo'].includes(category.toLowerCase())){
category = 'Torment';
}
Expand Down