Skip to content
This repository was archived by the owner on Sep 26, 2019. It is now read-only.
This repository was archived by the owner on Sep 26, 2019. It is now read-only.

Mafia Swap #6

@MaxDistructo

Description

@MaxDistructo

Command: !mafia swap @ user1 @ user2
What will it do?: Change the role of user1 to AFK and set the role of user2 as the role of user1

Programming Idea:

val out = Utils.getJSONFromFile(playerdat file)
val role = out.getJSONObject("" + user1)
out.remove("" + user1)
out.put("" + user2, role)
// Remove role Mafia Folks and Alive(Mafia) from AFK Person.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions