Skip to content

Commit

Permalink
all commands reply to original command
Browse files Browse the repository at this point in the history
  • Loading branch information
StarManTheGamer committed Jul 21, 2023
1 parent 11abbd9 commit 54d0878
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/commands/guild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export async function guild (message: Message, args: string[]): Promise<Message<
.setStyle('LINK')
)

return message.channel.send({
return message.reply({
embeds: [embed],
components: [actionRow]
})
Expand Down
2 changes: 1 addition & 1 deletion src/commands/place.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export async function place (message: Message, args: string[]) {
.setStyle('LINK')
)

return message.channel.send({
return message.reply({
embeds: [embed],
components: [actionRow]
})
Expand Down
2 changes: 1 addition & 1 deletion src/commands/random/randomGuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export async function randomGuild (message: Message, args: string[]) {
.setStyle('LINK')
)

return message.channel.send({
return message.reply({
embeds: [embed],
components: [actionRow]
})
Expand Down
2 changes: 1 addition & 1 deletion src/commands/random/randomPlace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export async function randomPlace (message: Message, args: string[]) {
.setStyle('LINK')
)

return message.channel.send({
return message.reply({
embeds: [embed],
components: [actionRow]
})
Expand Down
2 changes: 1 addition & 1 deletion src/commands/random/randomStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,5 @@ export async function randomStore (message: Message, args: string[]) {
.setStyle('LINK')
)

return await message.channel.send({ embeds: [embed], components: [actionRow] })
return message.reply({ embeds: [embed], components: [actionRow] })
}
2 changes: 1 addition & 1 deletion src/commands/random/randomUser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export async function randomUser (message: Message, args: string[]) {
.setStyle('LINK')
)

return message.channel.send({
return message.reply({
embeds: [embed],
components: [actionRow]
})
Expand Down
2 changes: 1 addition & 1 deletion src/commands/status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export async function status (message: Message, args: string[]) {
index++
}

const msg = await message.channel.send({ embeds: [embed] })
const msg = await message.reply({ embeds: [embed] })
const responseTimes = []

let index2 = 0
Expand Down
2 changes: 1 addition & 1 deletion src/commands/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export async function store (message: Message, args: string[]) {
.setStyle('LINK')
)

return message.channel.send({
return message.reply({
embeds: [embed],
components: [actionRow]
})
Expand Down

0 comments on commit 54d0878

Please sign in to comment.