Categories > Etc > Software & Hardware >

Syncing roles between 2 different Discord servers?


Moon

Moon

moderator

Posts: 7619

Threads: 304

Joined: Aug, 2020

Reputation: 69

  • 0

Posted

So I was managing this server that had multiple other servers connected to it. I was wondering if you could sync roles between all of them so that if you have a role in the main server, it syncs to the other servers

SirWeeb

Novaline Owner

moderator

Posts: 1077

Threads: 35

Joined: Jul, 2021

Reputation: 41

  • 0

Replied

Probably if you make a bot for it

davidTube

Currently inactive

noticed

Posts: 1973

Threads: 87

Joined: Dec, 2018

Reputation: 41

  • 0

Replied

as the person above me said, it's only possible if you make a bot

 

although i found something pretty interesting on github that does exactly what you want: https://github.com/jonathonor/syncBot

(haven't tested it tho)

Moon

Moon

moderator

Posts: 7619

Threads: 304

Joined: Aug, 2020

Reputation: 69

  • 0

Replied

@davidTube

The problem with that is, it's using commands, I'm looking for an automated way so whenever someone's role is changed, it changes on other servers

RealChronics

D4rK Owner

vip

Posts: 282

Threads: 32

Joined: Dec, 2020

Reputation: -26

  • 0

Replied

you could possibly make a bot for it with a DB and do like !add (id) first id of a role in a server then !connect (old id), (new id)

https://media.discordapp.net/attachments/979496861738086420/981316649661632562/4353979.png

https://cdn.discordapp.com/attachments/930896685230612592/931747495514628207/unknown.png

 

BONES_

Alt of Bones

vip

Posts: 26

Threads: 2

Joined: Nov, 2021

Reputation: 14

  • 0

Replied

make bot, check if user has role in the server, if so assign role

Posts: 221

Threads: 5

Joined: Sep, 2021

Reputation: 4

  • 0

Replied

Yeah you would need to make a bit to do this

ThatPhoenix

Socially Awkward

Posts: 2612

Threads: 60

Joined: May, 2020

Reputation: 19

  • 0

Replied

@Moon

pretty sure u can just use a discord.js event?

if not then u can use audit log

https://cdn.discordapp.com/attachments/763497531010711562/980416910292312114/Vector_330_500_px_6.png

Join Vector - https://discord.gg/Ag45a5sjpj

Phoenix#8419 | JavaScript & C# | Learning C/C++

Posts: 456

Threads: 27

Joined: Aug, 2021

Reputation: 22

  • 1

Replied

go into ur discord server settings and go to template 

Moon

Moon

moderator

Posts: 7619

Threads: 304

Joined: Aug, 2020

Reputation: 69

  • 0

Replied

@kyron

That copies the server, it doesn't sync

Texas

Paranoid schizophrenic

Posts: 238

Threads: 6

Joined: Nov, 2020

Reputation: 6

  • 0

Replied

If you're not satisfied with the project, there's nothing left in terms of open source solutions. As others have pointed out, making a bot yourself is a good option. Take a Node.js crash course then use discord.js or one of the other available API wrapper libraries. It's certainly not hard, and can be done in an hour or two of copying code snippets from SO and d.js's documentation.

Programmer and Linux user. Experienced in software, hardware and digital security.

Daily driving a Lenovo Thinkpad X240 (Arch Linux, i5 4300U processor, 8 GB DDR3 memory)

Contact me

Posts: 101

Threads: 13

Joined: Jan, 2022

Reputation: 5

  • 0

Replied

Create a Discord bot that checks your server's roles on an interval. If you cannot create a Discord bot from coding it yourself, I recommend getting Discord Bot Maker.

Discord Bot Maker is powerful, yet a flexible, tool that allows both experienced programmers and bot newcomers to construct outstandingly effective bots in a matter of seconds. By piecing together actions that may occur through commands or events.

 

It's only $10, and you can import your own code into it as well.

You can find it on Steam. For a direct link, click this.

Thank you Swiney2, Vilictus and SnowyWaves for the +reps

https://i.imgur.com/ZilSxfo.png

Moon

Moon

moderator

Posts: 7619

Threads: 304

Joined: Aug, 2020

Reputation: 69

  • 0

Replied

@Kyrus

That's cool, I'll check it out thanks

 

^ Translation, I'll manage to get $10 buy the software, and be completely confused on how anything works

Posts: 101

Threads: 13

Joined: Jan, 2022

Reputation: 5

  • 0

Replied

@Moon Yeah, it's pretty simple to understand as it has docs and YouTube tutorials. Pretty good for worth $10

Thank you Swiney2, Vilictus and SnowyWaves for the +reps

https://i.imgur.com/ZilSxfo.png



Users viewing this thread:


( Members: 0, Guests: 1, Total: 1 )