Maybe fix that thing

This commit is contained in:
Supositware 2022-10-16 20:09:59 +02:00
parent 5b426b55ff
commit c5cacbb78b

View file

@ -26,7 +26,7 @@ export function rand(text, interaction) {
const variables = [ const variables = [
{ {
name: /\[author\]/, name: /\[author\]/,
value: interaction ? interaction.author.username : '', value: interaction ? interaction.author ? interaction.author.username : '' : '',
}, },
{ {
name: /\[member\]/, name: /\[member\]/,