forked from Supositware/Haha-Yes
Maybe fix that thing
This commit is contained in:
parent
5b426b55ff
commit
c5cacbb78b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue