← Back to Community
How to create parties/groups in a discord bot
Profile icon
WhyThoBro

Hi, so I'm new to coding and want to make a discord bot. I want this bot to be able to create parties/groups that people can join. For example, someone types !create homework group, this will create a group that others can join with !find homework group which will show the homework group that the person created and then will be able to join that group with !join homework group. Anyone know how to do this?

Voters
Profile icon
WhyThoBro
Comments
hotnewtop
Profile icon
WhyThoBro

Hi, just still wondering if this is possible. Would appreciate any responses!

Profile icon
WhyThoBro

Hey, anyone know how to do this? I'm still want to see if it's possible, thanks if anyone replies.

Profile icon
cuber1515

@WhyThoBro I have a tutorial. It doesn't have that but it has a lot about programming a bot (with python).

Hope this helps!!

Profile icon
Coder100

Well, you could use dicts of arrays that store users, like this:

db = { '<name>': ['<user id>', '<user id>', '<user id>'], }
Profile icon
WhyThoBro

@Coder100 Cool, but is there a way to create parties in embeds that people can find and join that you know? Thanks

Profile icon
MatthewADev

What language are you thinking to use?

Profile icon
WhyThoBro

@2I9 Hi, I'm already using python and I have the basics set up like the bot token in secrets setup and keep alive. Sorry for that late response I was busy.