Maybe fix that thing

pull/1/head
Supositware 2 years ago
parent 5b426b55ff
commit c5cacbb78b

@ -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\]/,

Loading…
Cancel
Save