commit
This commit is contained in:
parent
53db6d49ed
commit
d931987b0b
1 changed files with 1 additions and 1 deletions
2
app.js
2
app.js
|
@ -446,7 +446,7 @@ client.on('interactionCreate', async interaction => {
|
||||||
else if (interaction.commandName === 'displayconv') {
|
else if (interaction.commandName === 'displayconv') {
|
||||||
await interaction.deferReply();
|
await interaction.deferReply();
|
||||||
|
|
||||||
if (interaction.options.get('name').includes(" ")) {
|
if (interaction.options.get('name').value.includes(" ")) {
|
||||||
const embed = new discord.EmbedBuilder()
|
const embed = new discord.EmbedBuilder()
|
||||||
.setColor(0xFABBDE)
|
.setColor(0xFABBDE)
|
||||||
.setAuthor({ name : "Error", iconURL : client.user.displayAvatarURL()})
|
.setAuthor({ name : "Error", iconURL : client.user.displayAvatarURL()})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue