Surround confessions in quotes
This commit is contained in:
parent
f4cc93b07d
commit
b25beeee98
|
@ -74,7 +74,7 @@ export async function execute(interaction: CommandInteraction) {
|
||||||
const adminChannel = dt.getGuildInfo(interaction.guild?.id!)?.settings
|
const adminChannel = dt.getGuildInfo(interaction.guild?.id!)?.settings
|
||||||
.modChannel;
|
.modChannel;
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
const messageContent: string = interaction.options.getString("message");
|
const messageContent: string = `"${interaction.options.getString("message")}"`;
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
const attachment: string = interaction.options.getString("attachment");
|
const attachment: string = interaction.options.getString("attachment");
|
||||||
|
|
||||||
|
|
|
@ -86,8 +86,7 @@ BotClient.on(Events.InteractionCreate, async interaction => {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (interaction.customId === "submitConfession") {
|
if (interaction.customId === "submitConfession") {
|
||||||
const messageContent: string =
|
const messageContent: string = `"${interaction.fields.getTextInputValue("confessionInput")}"`;
|
||||||
interaction.fields.getTextInputValue("confessionInput");
|
|
||||||
const attachment: string = interaction.fields.getTextInputValue(
|
const attachment: string = interaction.fields.getTextInputValue(
|
||||||
"confessionAttachment"
|
"confessionAttachment"
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue