/*
Gets a string from a permission, which is the user-facing string NOT the assignable string.
For example: "Your permission level is: GetPermissionString(PermAll)"
*/
Gets a string from a permission, which is the user-facing string NOT the assignable string.
For example: "Your permission level is: GetPermissionString(PermAll)"
/ * Gets a string from a permission which is the user - facing string NOT the assignable string . For example : " Your permission level is : GetPermissionString ( PermAll ) " * /
func GetPermissionString(p types.Permission) string {
	switch p {
	case types.PermAll:
		return "Normal User"
	case types.PermMod:
		return "Mod"
	case types.PermGuildOwner:
		return "Guild Owner"
	case types.PermNone:
		return "How did you get this role...?"
	case types.PermMaster:
		return "Master"
	default:
		return "Unknown"
	}
}
func GetPermissionString ( p types . Permission ) string { switch p { case types . PermAll : return " " case types . PermMod : return " " case types . PermGuildOwner : return " " case types . PermNone : return " " case types . PermMaster : return " " default : return " " } }
Gets a string from a permission, which is the user-facing string NOT the assignable string.
Gets a string from a permission which is the user - facing string NOT the assignable string .