Discord Bot Maker

Discord Bot Maker

View Stats:
pvpinq Aug 6, 2022 @ 8:51pm
Mention random member
Is there a way I can make it mention/message a random member in the server?
< >
Showing 1-3 of 3 comments
TMGiorgio Aug 15, 2022 @ 5:34am 
Depends on what you want to do.
if you want to make a giveaway for example, it can choose between random members
that react to your send msg etc.
if you want the bot to just list a random member, it would be a little more complicated.

can you explain what exactly you need.
pvpinq Aug 16, 2022 @ 6:39pm 
Originally posted by Giorgio:
Depends on what you want to do.
if you want to make a giveaway for example, it can choose between random members
that react to your send msg etc.
if you want the bot to just list a random member, it would be a little more complicated.

can you explain what exactly you need.

Sorry for the late reply.

I'm looking to make it a mention a random member, not as in a giveaway, just pick a random member that's in the server and mention them.
TMGiorgio Aug 18, 2022 @ 6:59am 
I´m sorry for that late responce, so if you just want to get a random user,
i recommend doing this, its the most simple way.:

1. Create new command, add action
- Get item from list

2. Source list:
- Server Memebers

3. Item to store:
- Random item

4. Store in:
- Temp Veriable
* Variable Name:
- random

There are different ways on doing so but this would be the most effective way since
you only have to use one action line. You can also do it with "Generate Random Number"
or "Randomize Letters" (mods), you would just have to assign every number / letter
to a member. that would take around 3-5different command lines. Also, if you would
use letters, you could only use 26 obv.

Here is the raw data:
i´ve added send message, the msg will just ping the user that got picked randomly

{
"name": "randompick",
"permissions": "NONE",
"restriction": "1",
"_id": "QJIMy",
"actions": [
{
"list": "0",
"varName": "",
"getType": "2",
"position": "",
"storage": "1",
"varName2": "random",
"name": "Get Item from List"
},
{
"channel": "0",
"varName": "",
"message": "Hey ${tempVars(\"random\")},\nYou got picked randomly!",
"buttons": [],
"selectMenus": [],
"attachments": [],
"embeds": [],
"reply": true,
"ephemeral": false,
"tts": false,
"overwrite": false,
"dontSend": false,
"editMessage": "0",
"editMessageVarName": "",
"storage": "0",
"varName2": "",
"name": "Send Message"
}
],
"comType": "0",
"description": ""
}

had to repost bc i wrote someting wrong.
Also, sorry for my bad english-.-
Last edited by TMGiorgio; Aug 21, 2022 @ 7:31am
< >
Showing 1-3 of 3 comments
Per page: 1530 50