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
|
||||
.modChannel;
|
||||
// @ts-ignore
|
||||
const messageContent: string = interaction.options.getString("message");
|
||||
const messageContent: string = `"${interaction.options.getString("message")}"`;
|
||||
// @ts-ignore
|
||||
const attachment: string = interaction.options.getString("attachment");
|
||||
|
||||
|
|
|
@ -86,8 +86,7 @@ BotClient.on(Events.InteractionCreate, async interaction => {
|
|||
}
|
||||
|
||||
if (interaction.customId === "submitConfession") {
|
||||
const messageContent: string =
|
||||
interaction.fields.getTextInputValue("confessionInput");
|
||||
const messageContent: string = `"${interaction.fields.getTextInputValue("confessionInput")}"`;
|
||||
const attachment: string = interaction.fields.getTextInputValue(
|
||||
"confessionAttachment"
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue