make recipe autocomplete guild-specific finally
This commit is contained in:
parent
607f304359
commit
b1bc9592ad
|
@ -127,7 +127,8 @@ export default {
|
|||
.filter(recipe => recipe.outputs.filter(n => n.item.name.toLowerCase().includes(focused.toLowerCase())).length > 0);
|
||||
|
||||
const customRecipes = await db<CustomCraftingRecipe>('customCraftingRecipes')
|
||||
.where('station', station);
|
||||
.where('station', station)
|
||||
.where('guild', interaction.guildId);
|
||||
|
||||
const resolvedCustomRecipes = await Promise.all(customRecipes.map(resolveCustomRecipe));
|
||||
|
||||
|
|
Loading…
Reference in New Issue