Skip to content

Commit

Permalink
* Fixed "iconURL" properties on embeds
Browse files Browse the repository at this point in the history
* Small text changes
  • Loading branch information
danthonywalker committed Aug 14, 2023
1 parent 2123737 commit 122b6e4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/features/creators/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const json = new SlashCommandBuilder()
.addSubcommand((subcommand) =>
subcommand
.setName(Subcommand.UNSUBSCRIBE)
.setDescription("Unsubscribe to creators"),
.setDescription("Unsubscribe from creators"),
)
.toJSON();

Expand Down
4 changes: 2 additions & 2 deletions src/features/creators/subscribe/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const getEmbedByYoutubeChannel = ({
channelName === null
? null
: {
iconUrl: thumbnailUrl,
iconURL: thumbnailUrl ?? undefined,
name: channelName,
url: channelUrl ?? undefined,
};
Expand All @@ -78,7 +78,7 @@ const getEmbedByYoutubeChannel = ({
channelName === null
? null
: {
iconUrl: thumbnailUrl,
iconURL: thumbnailUrl ?? undefined,
text: channelName,
};

Expand Down
4 changes: 2 additions & 2 deletions src/features/creators/unsubscribe/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,11 @@ export default async (interaction: ChatInputCommandInteraction) => {

const options = () => {
// prettier-ignore
const applyButtonLabel = "I am finished selecting creators to unsubscribe to";
const applyButtonLabel = "I am finished selecting creators to unsubscribe from";
const cancelButtonLabel = "I do not want to unsubscribe from any creators";

const description =
"Use the select menu to choose the channel and creator to unsubscribe from.";
"Use the select menu to choose the creators to unsubscribe from.";

const embed = new EmbedBuilder()
.setColor(Color.INFORMATIONAL)
Expand Down

0 comments on commit 122b6e4

Please sign in to comment.