Randomly Selecting Discord Users

Asked Mar 29, 2021·2 replies·Last activity 5 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

Hi there! I recently added Nightbot to my Discord server, and I was trying to set up a command to randomly select a user in the server. The command in question (link expired) was written exactly as need be, but whenever I try to use the command, it simply says, "Unexpected token '<' ". I was hoping someone would be able to help me get this straightened out, or if it's simply not actually possible to run

2 replies

Hey @Spry Owl!

I don't see anything wrong in the command code, from my experience it should work, have you made sure you copy/pasted and edited it properly without damaging the code?

Btw, you can also use $(provider) to make sure the command is only used in Discord.

I’m able to replicate the issue if I remove the back tick before the “<“ make sure you haven’t deleted that by accident