Skip to content

Commit

Permalink
fix: add sortie worldstate lookup. closes #503
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiTenno committed Nov 1, 2021
1 parent 9b2568d commit aaf21a1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/interactions/warframe/Worldstate.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ const embeds = {
syndicate: require(`${embedsd}/SyndicateEmbed`),
vallisCycle: require(`${embedsd}/SolarisEmbed`),
voidTrader: require(`${embedsd}/VoidTraderEmbed`),
sortie: require(`${embedsd}/SortieEmbed`),
};

const platformable = [{
Expand Down Expand Up @@ -199,6 +200,11 @@ module.exports = class WorldState extends require('../../models/Interaction') {
name: 'steelpath',
description: 'Get Current Steel Path Offerings',
options: compactable,
}, {
type: Types.SUB_COMMAND,
name: 'sortie',
description: 'Get Sortie Information',
options: platformable,
}],
};

Expand Down Expand Up @@ -239,6 +245,7 @@ module.exports = class WorldState extends require('../../models/Interaction') {
case 'dailyDeals':
case 'constructionProgress':
case 'nightwave':
case 'sortie':
case 'sentientOutposts':
if (!data.length && !Object.keys(data).length) {
return interaction.editReply(ctx.i18n`No ${field.charAt(0).toUpperCase() + field.slice(1)} Active`);
Expand Down

0 comments on commit aaf21a1

Please sign in to comment.