/edit strain ready for testing
All checks were successful
NodBot Production Dockerization / build (pull_request) Successful in 15s
All checks were successful
NodBot Production Dockerization / build (pull_request) Successful in 15s
This commit is contained in:
parent
8b2768bc12
commit
663c8e0a1a
@ -164,7 +164,8 @@ module.exports = {
|
||||
rating: interaction.options.getString('rating'),
|
||||
description: interaction.options.getString('description')
|
||||
};
|
||||
const strainData = new StrainData().setInfo(interaction.options.getString('name'), details);
|
||||
const strainData = interaction.client.strains.get(interaction.options.getString('name'));
|
||||
strainData.setInfo(interaction.options.getString('name'), details);
|
||||
await fn.upload.strain(interaction, strainData);
|
||||
const reply = await fn.download.strain(strainData.name, interaction);
|
||||
await interaction.editReply(reply);
|
||||
|
Loading…
Reference in New Issue
Block a user